]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:54 +0000 (13:15 -0300)
commit12fb8a777407523da04d9a017b458d04855df17c
treec78986cde527cdffc4116211f40924cf7f005f72
parent6718e73ce186053cb77bf87b25cd2224d49e4a5f
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