summaryrefslogtreecommitdiff
path: root/polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll')
-rw-r--r--polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll b/polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll
index d6164ec6bfab..71903d9e7111 100644
--- a/polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll
+++ b/polly/test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll
@@ -16,7 +16,7 @@
; }
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
-define void @f(i32* %sum) {
+define void @f(ptr %sum) {
entry:
br label %for.cond
@@ -34,12 +34,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, i32* %sum, i32 %i.0
- %tmp = load i32, i32* %arrayidx, align 4
+ %arrayidx = getelementptr inbounds i32, ptr %sum, i32 %i.0
+ %tmp = load i32, ptr %arrayidx, align 4
%add = add nsw i32 %tmp, 3
%add4 = add nsw i32 %i.0, %j.0
- %arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %add4
- store i32 %add, i32* %arrayidx5, align 4
+ %arrayidx5 = getelementptr inbounds i32, ptr %sum, i32 %add4
+ store i32 %add, ptr %arrayidx5, align 4
br label %for.inc
for.inc: ; preds = %for.body3