[16/46] Make STMT_VINFO_REDUC_DEF a stmt_vec_info
commit04eefad54362bf20299488fe6b0772f74f6a9033
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 14:23:11 +0000 (31 14:23 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2018 14:23:11 +0000 (31 14:23 +0000)
treea254959046f50c17984a1da9797d188c9cf93c95
parentdc1fb456702ae8e994540c36aa8e10a851968591
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263131 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h