summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/unsigned-division-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/unsigned-division-2.ll')
-rw-r--r--polly/test/ScopInfo/unsigned-division-2.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/ScopInfo/unsigned-division-2.ll b/polly/test/ScopInfo/unsigned-division-2.ll
index a150b2483b2f..bf4ebce9099a 100644
--- a/polly/test/ScopInfo/unsigned-division-2.ll
+++ b/polly/test/ScopInfo/unsigned-division-2.ll
@@ -15,7 +15,7 @@
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A, i32 %N) {
+define void @f(ptr %A, i32 %N) {
entry:
%tmp = lshr i32 %N, 1
%tmp1 = add i32 %tmp, 3
@@ -28,10 +28,10 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %arrayidx = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp2 = load i32, i32* %arrayidx, align 4
+ %arrayidx = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ %tmp2 = load i32, ptr %arrayidx, align 4
%inc = add nsw i32 %tmp2, 1
- store i32 %inc, i32* %arrayidx, align 4
+ store i32 %inc, ptr %arrayidx, align 4
br label %for.inc
for.inc: ; preds = %for.body