summaryrefslogtreecommitdiff
path: root/polly/test/ScheduleOptimizer/line-tiling-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScheduleOptimizer/line-tiling-2.ll')
-rw-r--r--polly/test/ScheduleOptimizer/line-tiling-2.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/test/ScheduleOptimizer/line-tiling-2.ll b/polly/test/ScheduleOptimizer/line-tiling-2.ll
index f6a836bceea5..eb374cb07cf3 100644
--- a/polly/test/ScheduleOptimizer/line-tiling-2.ll
+++ b/polly/test/ScheduleOptimizer/line-tiling-2.ll
@@ -8,7 +8,7 @@
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
; Function Attrs: nounwind
-define void @line([512 x i32]* %A) {
+define void @line(ptr %A) {
entry:
br label %entry.split
@@ -23,8 +23,8 @@ for.body3: ; preds = %for.body3.lr.ph, %f
%j.0 = phi i32 [ 0, %for.body3.lr.ph ], [ %inc, %for.body3 ]
%mul = mul nsw i32 %j.0, %i.0
%rem = srem i32 %mul, 42
- %arrayidx4 = getelementptr inbounds [512 x i32], [512 x i32]* %A, i32 %i.0, i32 %j.0
- store i32 %rem, i32* %arrayidx4, align 4
+ %arrayidx4 = getelementptr inbounds [512 x i32], ptr %A, i32 %i.0, i32 %j.0
+ store i32 %rem, ptr %arrayidx4, align 4
%inc = add nsw i32 %j.0, 1
%cmp2 = icmp slt i32 %inc, 512
br i1 %cmp2, label %for.body3, label %for.inc5