]> git.ipfire.org Git - thirdparty/gcc.git/commit
Streamline vector lowering of VEC_COND_EXPR and vector comparisons
authorRichard Biener <rguenther@suse.de>
Tue, 12 Nov 2024 14:07:34 +0000 (15:07 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Nov 2024 12:42:02 +0000 (13:42 +0100)
commitf40010c198f7cb811c1803834b621f4185803c18
tree98a7960ce9b3fc3c10882c1888ae7248625bdf75
parent5f71122e9d83b63d5c572079ebb1df6eba2e4314
Streamline vector lowering of VEC_COND_EXPR and vector comparisons

The following makes sure to lower all VEC_COND_EXPRs that we cannot
trivially expand, likewise for comparisons.  In particular no longer
try to combine both in fancy ways.

* tree-vect-generic.cc (expand_vector_comparison): Lower
vector comparisons that we cannot trivially expand.  Remove
code dealing with uses in VEC_COND_EXPRs.
(expand_vector_condition): Lower vector conditions that we
cannot trivially expand.  Remove code dealing with comparison
mask definitions.
(expand_vector_operation): Drop dce_ssa_names.
(expand_vector_operations_1): Likewise.
gcc/tree-vect-generic.cc