summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:20:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-27 19:20:19 +0000
commitbad3ff207f68e69f36b9a1f90a29f22341e505bb (patch)
treed97ff485a8abb3f3e161417419b2f24fdce66b29 /polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
parent218b78319277e27d8f283c85369f968ab580015b (diff)
downloadbcm5719-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.ll4
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
OpenPOWER on IntegriCloud