summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/reduction_escaping_intermediate.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/reduction_escaping_intermediate.ll')
-rw-r--r--polly/test/ScopInfo/reduction_escaping_intermediate.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/test/ScopInfo/reduction_escaping_intermediate.ll b/polly/test/ScopInfo/reduction_escaping_intermediate.ll
index 545cde96616..cc08afed88f 100644
--- a/polly/test/ScopInfo/reduction_escaping_intermediate.ll
+++ b/polly/test/ScopInfo/reduction_escaping_intermediate.ll
@@ -36,13 +36,13 @@ 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
%sub = sub nsw i32 %N, %i.0
%add5 = add nsw i32 %sub, %j.0
- %arrayidx6 = getelementptr inbounds i32* %escape, i32 %add5
+ %arrayidx6 = getelementptr inbounds i32, i32* %escape, i32 %add5
store i32 %add, i32* %arrayidx6, align 4
br label %for.inc
OpenPOWER on IntegriCloud