summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll')
-rw-r--r--polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll b/polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
index 8beca1654a53..b11675b3662f 100644
--- a/polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
+++ b/polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
@@ -103,7 +103,7 @@
;
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 %bb11
@@ -132,15 +132,15 @@ bb15: ; preds = %bb24, %bb14
br i1 %exitcond, label %bb16, label %bb25
bb16: ; preds = %bb15
- %tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv8
- %tmp17 = load i32, i32* %tmp, align 4
- %tmp18 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv5
- %tmp19 = load i32, i32* %tmp18, align 4
+ %tmp = getelementptr inbounds i32, ptr %A, i64 %indvars.iv8
+ %tmp17 = load i32, ptr %tmp, align 4
+ %tmp18 = getelementptr inbounds i32, ptr %A, i64 %indvars.iv5
+ %tmp19 = load i32, ptr %tmp18, align 4
%tmp20 = add nsw i32 %tmp17, %tmp19
- %tmp21 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp22 = load i32, i32* %tmp21, align 4
+ %tmp21 = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ %tmp22 = load i32, ptr %tmp21, align 4
%tmp23 = add nsw i32 %tmp22, %tmp20
- store i32 %tmp23, i32* %tmp21, align 4
+ store i32 %tmp23, ptr %tmp21, align 4
br label %bb24
bb24: ; preds = %bb16