diff polly/test/ScopInfo/non_affine_access.ll @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
line wrap: on
line diff
--- a/polly/test/ScopInfo/non_affine_access.ll	Wed Nov 09 17:47:54 2022 +0900
+++ b/polly/test/ScopInfo/non_affine_access.ll	Fri Aug 18 09:04:13 2023 +0900
@@ -7,7 +7,7 @@
 ;     A[i * i] = i;
 ;
 
-define void @foo(i64 *%A) nounwind uwtable ssp {
+define void @foo(ptr %A) nounwind uwtable ssp {
 entry:
   br label %entry.split
 
@@ -17,8 +17,8 @@
 for.body:                                         ; preds = %entry.split, %for.body
   %indvar = phi i64 [ 0, %entry.split ], [ %indvar.next, %for.body ]
   %mul = mul nsw i64 %indvar, %indvar
-  %arrayidx = getelementptr inbounds i64, i64* %A, i64 %mul
-  store i64 %indvar, i64* %arrayidx, align 4
+  %arrayidx = getelementptr inbounds i64, ptr %A, i64 %mul
+  store i64 %indvar, ptr %arrayidx, align 4
   %indvar.next = add nsw i64 %indvar, 1
   %exitcond = icmp ne i64 %indvar.next, 1024
   br i1 %exitcond, label %for.body, label %for.end