aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2018-07-31 14:23:40 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-07-31 14:23:40 +0000
commitc26228d41bcbb1a8027570cbef7a2c00ed75f2d6 (patch)
tree531349df89d255c52e4ae55a733883f4361a0498 /gcc/tree-vectorizer.h
parentf698fccf099a69415619858062431c9383caf070 (diff)
downloadgcc-c26228d41bcbb1a8027570cbef7a2c00ed75f2d6.zip
gcc-c26228d41bcbb1a8027570cbef7a2c00ed75f2d6.tar.gz
gcc-c26228d41bcbb1a8027570cbef7a2c00ed75f2d6.tar.bz2
[22/46] Make DR_GROUP_SAME_DR_STMT a stmt_vec_info
This patch changes STMT_VINFO_SAME_DR_STMT 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::same_dr_stmt): Change from a gimple stmt to a stmt_vec_info. * tree-vect-stmts.c (vectorizable_load): Update accordingly. From-SVN: r263137
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 24020d2..daa63fd 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -876,7 +876,7 @@ struct _stmt_vec_info {
stmt_vec_info next_element;
/* For data-refs, in case that two or more stmts share data-ref, this is the
pointer to the previously detected stmt with the same dr. */
- gimple *same_dr_stmt;
+ stmt_vec_info same_dr_stmt;
/* The size of the group. */
unsigned int size;
/* For stores, number of stores from this group seen. We vectorize the last