summaryrefslogtreecommitdiff
path: root/polly/test/ScopDetect/non_affine_loop_condition.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopDetect/non_affine_loop_condition.ll')
-rw-r--r--polly/test/ScopDetect/non_affine_loop_condition.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/polly/test/ScopDetect/non_affine_loop_condition.ll b/polly/test/ScopDetect/non_affine_loop_condition.ll
index 2d7004f5a619..f268442cd8ee 100644
--- a/polly/test/ScopDetect/non_affine_loop_condition.ll
+++ b/polly/test/ScopDetect/non_affine_loop_condition.ll
@@ -13,7 +13,7 @@
; CHECK: Valid Region for Scop: bb1 => bb12
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A) {
+define void @f(ptr %A) {
bb:
br label %bb1
@@ -26,16 +26,16 @@ bb2: ; preds = %bb1
br label %bb3
bb3: ; preds = %bb6, %bb2
- %tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp4 = load i32, i32* %tmp, align 4
+ %tmp = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ %tmp4 = load i32, ptr %tmp, align 4
%tmp5 = icmp eq i32 %tmp4, 0
br i1 %tmp5, label %bb10, label %bb6
bb6: ; preds = %bb3
- %tmp7 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp8 = load i32, i32* %tmp7, align 4
+ %tmp7 = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ %tmp8 = load i32, ptr %tmp7, align 4
%tmp9 = add nsw i32 %tmp8, -1
- store i32 %tmp9, i32* %tmp7, align 4
+ store i32 %tmp9, ptr %tmp7, align 4
br label %bb3
bb10: ; preds = %bb3