summaryrefslogtreecommitdiff
path: root/polly/test/ForwardOpTree/forward_load.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ForwardOpTree/forward_load.ll')
-rw-r--r--polly/test/ForwardOpTree/forward_load.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/test/ForwardOpTree/forward_load.ll b/polly/test/ForwardOpTree/forward_load.ll
index f3b5d80f15a0..86e3cb0203fa 100644
--- a/polly/test/ForwardOpTree/forward_load.ll
+++ b/polly/test/ForwardOpTree/forward_load.ll
@@ -11,7 +11,7 @@
; A[j] = val;
; }
;
-define void @func(i32 %n, double* noalias nonnull %A, double* noalias nonnull %B) {
+define void @func(i32 %n, ptr noalias nonnull %A, ptr noalias nonnull %B) {
entry:
br label %for
@@ -21,13 +21,13 @@ for:
br i1 %j.cmp, label %bodyA, label %exit
bodyA:
- %B_idx = getelementptr inbounds double, double* %B, i32 %j
- %val = load double, double* %B_idx
+ %B_idx = getelementptr inbounds double, ptr %B, i32 %j
+ %val = load double, ptr %B_idx
br label %bodyB
bodyB:
- %A_idx = getelementptr inbounds double, double* %A, i32 %j
- store double %val, double* %A_idx
+ %A_idx = getelementptr inbounds double, ptr %A, i32 %j
+ store double %val, ptr %A_idx
br label %inc
inc:
@@ -55,6 +55,6 @@ return:
; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0]
; CHECK-NEXT: [n] -> { Stmt_bodyB[i0] -> MemRef_A[i0] };
; CHECK-NEXT: Instructions {
-; CHECK-NEXT: %val = load double, double* %B_idx, align 8
-; CHECK-NEXT: store double %val, double* %A_idx, align 8
+; CHECK-NEXT: %val = load double, ptr %B_idx, align 8
+; CHECK-NEXT: store double %val, ptr %A_idx, align 8
; CHECK-NEXT: }