aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2018-07-31 14:23:11 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-07-31 14:23:11 +0000
commit542ad08cea053ac4a02729e2f37c67bb50019bc0 (patch)
treea254959046f50c17984a1da9797d188c9cf93c95 /gcc/tree-vectorizer.h
parent16edaeb8a6b1cd72b2eedfe8cac684ac3f4785c2 (diff)
downloadgcc-542ad08cea053ac4a02729e2f37c67bb50019bc0.zip
gcc-542ad08cea053ac4a02729e2f37c67bb50019bc0.tar.gz
gcc-542ad08cea053ac4a02729e2f37c67bb50019bc0.tar.bz2
[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
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r--gcc/tree-vectorizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
index f4c2672..9222f93 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -921,7 +921,7 @@ struct _stmt_vec_info {
/* On a reduction PHI the def returned by vect_force_simple_reduction.
On the def returned by vect_force_simple_reduction the
corresponding PHI. */
- gimple *reduc_def;
+ stmt_vec_info reduc_def;
/* The number of scalar stmt references from active SLP instances. */
unsigned int num_slp_uses;