summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-stmts.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 23:40:32 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 23:40:32 +0000
commit31a56b87b5d8fcc932f440522f7bc90f31d607f5 (patch)
tree12bb6e85be80f5c6d6d7e8a7fa61bf62a4c479e9 /gcc/tree-vect-stmts.c
parent24a06c6d6e10c52219d4752b3e6dcc61da7c95ea (diff)
downloadgcc-31a56b87b5d8fcc932f440522f7bc90f31d607f5.tar.gz
Partially revert:
2012-02-20 Richard Guenther <rguenther@suse.de> PR tree-optimization/52298 * tree-vect-stmts.c (vectorizable_load): Properly use STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing outer loops. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-stmts.c')
-rw-r--r--gcc/tree-vect-stmts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index 78dd4d1615e..edfe98d3055 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -4659,7 +4659,7 @@ vectorizable_load (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt,
nested within an outer-loop that is being vectorized. */
if (nested_in_vect_loop
- && (TREE_INT_CST_LOW (STMT_VINFO_DR_STEP (stmt_info))
+ && (TREE_INT_CST_LOW (DR_STEP (dr))
% GET_MODE_SIZE (TYPE_MODE (vectype)) != 0))
{
gcc_assert (alignment_support_scheme != dr_explicit_realign_optimized);