diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-02-27 19:20:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-02-27 19:20:19 +0000 |
commit | bad3ff207f68e69f36b9a1f90a29f22341e505bb (patch) | |
tree | d97ff485a8abb3f3e161417419b2f24fdce66b29 /polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll | |
parent | 218b78319277e27d8f283c85369f968ab580015b (diff) | |
download | bcm5719-llvm-bad3ff207f68e69f36b9a1f90a29f22341e505bb.tar.gz bcm5719-llvm-bad3ff207f68e69f36b9a1f90a29f22341e505bb.zip |
Update Polly tests to handle explicitly typed gep changes in LLVM
llvm-svn: 230784
Diffstat (limited to 'polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll')
-rw-r--r-- | polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll b/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll index dd3c96ea192..6b7be71dc5b 100644 --- a/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll +++ b/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll @@ -32,12 +32,12 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %sums, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 5 store i32 %add, i32* %arrayidx, align 4 %add4 = add nsw i32 %i.0, 10 - %arrayidx5 = getelementptr inbounds i32* %sums, i32 %add4 + %arrayidx5 = getelementptr inbounds i32, i32* %sums, i32 %add4 %tmp2 = load i32* %arrayidx5, align 4 %mul = mul nsw i32 %tmp2, 5 store i32 %mul, i32* %arrayidx5, align 4 |