[16/46] Make STMT_VINFO_REDUC_DEF a stmt_vec_info
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 31 Jul 2018 14:23:11 +0000 (14:23 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 31 Jul 2018 14:23:11 +0000 (14:23 +0000)
commit542ad08cea053ac4a02729e2f37c67bb50019bc0
treea254959046f50c17984a1da9797d188c9cf93c95
parent16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2
[16/46] Make STMT_VINFO_REDUC_DEF a stmt_vec_info

This patch changes STMT_VINFO_REDUC_DEF from a gimple stmt to a
stmt_vec_info.

2018-07-31  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vectorizer.h (_stmt_vec_info::reduc_def): Change from
a gimple stmt to a stmt_vec_info.
* tree-vect-loop.c (vect_active_double_reduction_p)
(vect_force_simple_reduction, vectorizable_reduction): Update
accordingly.

From-SVN: r263131
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h