diff options
Diffstat (limited to 'polly/test/ScopInfo/modulo_zext_2.ll')
-rw-r--r-- | polly/test/ScopInfo/modulo_zext_2.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/ScopInfo/modulo_zext_2.ll b/polly/test/ScopInfo/modulo_zext_2.ll index a2099ed37c13..8d2321849174 100644 --- a/polly/test/ScopInfo/modulo_zext_2.ll +++ b/polly/test/ScopInfo/modulo_zext_2.ll @@ -26,7 +26,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 @@ -43,10 +43,10 @@ for.body: ; preds = %for.cond br i1 %tobool, label %if.end, label %if.then if.then: ; preds = %for.body - %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 %if.end if.end: ; preds = %for.body, %if.then |