diff polly/test/ScopDetect/multidim-with-undef-size.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/ScopDetect/multidim-with-undef-size.ll	Wed Nov 09 17:47:54 2022 +0900
+++ b/polly/test/ScopDetect/multidim-with-undef-size.ll	Fri Aug 18 09:04:13 2023 +0900
@@ -6,7 +6,7 @@
 ; Make sure we do not detect the larger region bb14->bb19 that contains
 ; a multi-dimensional memory access with a size of 'undef * undef'.
 
-define void @hoge(i8* %arg) {
+define void @hoge(ptr %arg) {
 bb:
   br label %bb6
 
@@ -16,9 +16,9 @@
   %tmp8 = add i64 %tmp7, 0
   %tmp9 = add i64 %tmp8, 8
   %tmp10 = sub i64 %tmp9, undef
-  %tmp11 = getelementptr i8, i8* %arg, i64 %tmp10
-  %tmp12 = getelementptr inbounds i8, i8* %tmp11, i64 4
-  %tmp13 = getelementptr inbounds i8, i8* %tmp12, i64 20
+  %tmp11 = getelementptr i8, ptr %arg, i64 %tmp10
+  %tmp12 = getelementptr inbounds i8, ptr %tmp11, i64 4
+  %tmp13 = getelementptr inbounds i8, ptr %tmp12, i64 20
   br label %bb14
 
 bb14:                                             ; preds = %bb14, %bb6
@@ -27,8 +27,7 @@
   br i1 false, label %bb14, label %bb17
 
 bb17:                                             ; preds = %bb14
-  %tmp18 = bitcast i8* %tmp13 to i32*
-  store i32 undef, i32* %tmp18, align 4
+  store i32 undef, ptr %tmp13, align 4
   br label %bb19
 
 bb19:                                             ; preds = %bb17