summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/non-pure-function-call.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/non-pure-function-call.ll')
-rw-r--r--polly/test/ScopInfo/non-pure-function-call.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/ScopInfo/non-pure-function-call.ll b/polly/test/ScopInfo/non-pure-function-call.ll
index 35bd7b19daf2..4ffb8d28865d 100644
--- a/polly/test/ScopInfo/non-pure-function-call.ll
+++ b/polly/test/ScopInfo/non-pure-function-call.ll
@@ -16,7 +16,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 = sext i32 %N to i64
br label %for.cond
@@ -35,10 +35,10 @@ if.then: ; preds = %for.body
br label %if.end
if.end: ; preds = %if.then, %for.body
- %arrayidx = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp1 = load i32, i32* %arrayidx, align 4
+ %arrayidx = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ %tmp1 = load i32, ptr %arrayidx, align 4
%inc = add nsw i32 %tmp1, 1
- store i32 %inc, i32* %arrayidx, align 4
+ store i32 %inc, ptr %arrayidx, align 4
br label %for.inc
for.inc: ; preds = %if.end