VEC_COND_EXPR: clean up first argument
authorMartin Liska <mliska@suse.cz>
Wed, 24 Jun 2020 06:08:00 +0000 (08:08 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 25 Jun 2020 06:57:47 +0000 (08:57 +0200)
commita8d8caca0cbfde0317ca96bfea75a7f047152dad
tree8f446411e050a36151bb9f30d61e0d8e1d1c088d
parent2e546c261beddd649e92925373e1c54aec3299a0
VEC_COND_EXPR: clean up first argument

gcc/ChangeLog:

PR tree-optimization/95745
PR middle-end/95830
* gimple-isel.cc (gimple_expand_vec_cond_exprs): Delete dead
SSA_NAMEs used as the first argument of a VEC_COND_EXPR.  Always
return 0.
* tree-vect-generic.c (expand_vector_condition): Remove dead
SSA_NAMEs used as the first argument of a VEC_COND_EXPR.
gcc/gimple-isel.cc
gcc/tree-vect-generic.c