re PR tree-optimization/92581 (condition chains vectorized wrongly)
authorRichard Biener <rguenther@suse.de>
Tue, 19 Nov 2019 14:00:46 +0000 (14:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Nov 2019 14:00:46 +0000 (14:00 +0000)
commitef8777c14ce8694f53eab7a88d24513cbf541ba4
tree2cbbd06661bf3326dfa440849a58b62a00d5e5c2
parentef01e6bbeb7e7e3fb33ca501764a1dc6a04d5210
re PR tree-optimization/92581 (condition chains vectorized wrongly)

2019-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92581
* tree-vect-loop.c (vect_create_epilog_for_reduction): For
condition reduction chains gather all conditions involved
for computing the index reduction vector.

* gcc.dg/vect/vect-cond-reduc-5.c: New testcase.

From-SVN: r278445
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-cond-reduc-5.c [new file with mode: 0644]
gcc/tree-vect-loop.c