diff polly/test/ScopInfo/bool-addrec.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/bool-addrec.ll	Wed Nov 09 17:47:54 2022 +0900
+++ b/polly/test/ScopInfo/bool-addrec.ll	Fri Aug 18 09:04:13 2023 +0900
@@ -10,7 +10,7 @@
 
 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n8:16:32-S64"
 
-define void @f(i32* %a, i32 %x) {
+define void @f(ptr %a, i32 %x) {
 entry:
   br label %for.body
 
@@ -21,22 +21,22 @@
   br i1 %cmp1, label %if.then, label %if.end
 
 if.then:                                          ; preds = %for.body
-  %arrayidx = getelementptr inbounds i32, i32* %a, i32 %i.03
-  store i32 3, i32* %arrayidx, align 4
+  %arrayidx = getelementptr inbounds i32, ptr %a, i32 %i.03
+  store i32 3, ptr %arrayidx, align 4
   br label %if.end
 
 if.end:                                           ; preds = %if.then, %for.body
   %mul = shl nsw i32 %i.03, 1
-  %arrayidx2 = getelementptr inbounds i32, i32* %a, i32 %mul
-  store i32 3, i32* %arrayidx2, align 4
+  %arrayidx2 = getelementptr inbounds i32, ptr %a, i32 %mul
+  store i32 3, ptr %arrayidx2, align 4
   %rem32 = and i32 %i.03, 1
   %cmp4 = icmp eq i32 %rem32, 0
   br i1 %cmp4, label %if.then5, label %for.inc
 
 if.then5:                                         ; preds = %if.end
   %mul6 = mul nsw i32 %i.03, 3
-  %arrayidx7 = getelementptr inbounds i32, i32* %a, i32 %mul6
-  store i32 3, i32* %arrayidx7, align 4
+  %arrayidx7 = getelementptr inbounds i32, ptr %a, i32 %mul6
+  store i32 3, ptr %arrayidx7, align 4
   br label %for.inc
 
 for.inc:                                          ; preds = %if.end, %if.then5