tree-vect-loop.c (vectorizable_reduction): Verify STMT_VINFO_REDUC_IDX on the to...
authorRichard Biener <rguenther@suse.de>
Fri, 25 Oct 2019 08:08:44 +0000 (08:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Oct 2019 08:08:44 +0000 (08:08 +0000)
commitea133b14f48ed5730748a7e02e322fb07ccc2d85
treec5952a91138d366ad57f8295ba59f1dd378ed1ab
parenta0f9baa2952727d22ed55fdd8c6eb3c75a0864e0
tree-vect-loop.c (vectorizable_reduction): Verify STMT_VINFO_REDUC_IDX on the to be vectorized stmts is set up correctly.

2019-10-25  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vectorizable_reduction): Verify
STMT_VINFO_REDUC_IDX on the to be vectorized stmts is set up
correctly.
* tree-vect-patterns.c (vect_mark_pattern_stmts): Transfer
STMT_VINFO_REDUC_IDX from the original stmts to the pattern
stmts.

From-SVN: r277437
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vect-patterns.c