summaryrefslogtreecommitdiff
path: root/polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll')
-rw-r--r--polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll b/polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll
index fba959c9833a..326236cf92fd 100644
--- a/polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll
+++ b/polly/test/GPGPU/remove-dead-instructions-in-stmt-2.ll
@@ -7,10 +7,10 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
-; KERNEL-IR: store i32 0, i32 addrspace(1)* %polly.access.MemRef_sum_c, align 4
+; KERNEL-IR: store i32 0, ptr addrspace(1) %polly.access.MemRef_sum_c, align 4
; KERNEL-IR-NEXT: br label %polly.merge
-define void @kernel_dynprog([50 x [50 x i32]]* %sum_c) {
+define void @kernel_dynprog(ptr %sum_c) {
entry:
br label %for.cond1.preheader
@@ -26,8 +26,8 @@ for.body3: ; preds = %for.cond1.loopexit,
%indvars.iv55 = phi i64 [ 0, %for.cond1.preheader ], [ %indvars.iv.next56, %for.cond1.loopexit ]
%indvars.iv48 = phi i64 [ 1, %for.cond1.preheader ], [ %indvars.iv.next49, %for.cond1.loopexit ]
%indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
- %arrayidx10 = getelementptr inbounds [50 x [50 x i32]], [50 x [50 x i32]]* %sum_c, i64 %indvars.iv55, i64 %indvars.iv48, i64 %indvars.iv55
- store i32 0, i32* %arrayidx10, align 4
+ %arrayidx10 = getelementptr inbounds [50 x [50 x i32]], ptr %sum_c, i64 %indvars.iv55, i64 %indvars.iv48, i64 %indvars.iv55
+ store i32 0, ptr %arrayidx10, align 4
%cmp1334 = icmp slt i64 %indvars.iv.next56, %indvars.iv48
br label %for.end