summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/multidim_only_ivs_2d.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/multidim_only_ivs_2d.ll')
-rw-r--r--polly/test/ScopInfo/multidim_only_ivs_2d.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/test/ScopInfo/multidim_only_ivs_2d.ll b/polly/test/ScopInfo/multidim_only_ivs_2d.ll
index 15a4e7848076..71245642e751 100644
--- a/polly/test/ScopInfo/multidim_only_ivs_2d.ll
+++ b/polly/test/ScopInfo/multidim_only_ivs_2d.ll
@@ -26,7 +26,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
; CHECK-NEXT: [m, n] -> { Stmt_for_j[i0, i1] -> MemRef_A[i0, i1] };
; CHECK-NEXT: }
-define void @foo(i64 %n, i64 %m, double* %A) {
+define void @foo(i64 %n, i64 %m, ptr %A) {
entry:
br label %for.i
@@ -38,8 +38,8 @@ for.i:
for.j:
%j = phi i64 [ 0, %for.i ], [ %j.inc, %for.j ]
%vlaarrayidx.sum = add i64 %j, %tmp
- %arrayidx = getelementptr inbounds double, double* %A, i64 %vlaarrayidx.sum
- store double 1.0, double* %arrayidx
+ %arrayidx = getelementptr inbounds double, ptr %A, i64 %vlaarrayidx.sum
+ store double 1.0, ptr %arrayidx
%j.inc = add nsw i64 %j, 1
%j.exitcond = icmp eq i64 %j.inc, %m
br i1 %j.exitcond, label %for.i.inc, label %for.j