VEC_COND_EXPR: do not expand comparisons feeding it
authorMartin Liska <mliska@suse.cz>
Tue, 30 Jun 2020 06:57:27 +0000 (08:57 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 2 Jul 2020 10:41:42 +0000 (12:41 +0200)
commit1ac9258cca8030745d3c0b8f63186f0adf0ebc27
tree4c3f0e518f942282d5f3c3a1ae77c2c50544a251
parentd59a576b8b5e12c3a56f0262912090e2921f5daa
VEC_COND_EXPR: do not expand comparisons feeding it

gcc/ChangeLog:

PR middle-end/95830
* tree-vect-generic.c (expand_vector_condition): Forward declaration.
(expand_vector_comparison): Do not expand a comparison if all
uses are consumed by a VEC_COND_EXPR.
(expand_vector_operation): Change void return type to bool.
(expand_vector_operations_1): Pass dce_ssa_names.
gcc/tree-vect-generic.c