Mercurial > hg > CbC > CbC_llvm
diff polly/test/ScopDetect/restrict-undef-size-scopdetect.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/restrict-undef-size-scopdetect.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/ScopDetect/restrict-undef-size-scopdetect.ll Fri Aug 18 09:04:13 2023 +0900 @@ -5,7 +5,7 @@ %struct.bar = type { i32, [4 x i32] } -define void @f(%struct.bar* %arg) { +define void @f(ptr %arg) { bb: %tmp = alloca [4 x i32], align 16 br label %bb1 @@ -15,13 +15,12 @@ br i1 false, label %bb3, label %bb6 bb3: ; preds = %bb1 - %tmp4 = getelementptr inbounds [4 x i32], [4 x i32]* %tmp, i64 0, i64 0 - %tmp5 = load i32, i32* %tmp4 + %tmp5 = load i32, ptr %tmp br label %bb8 bb6: ; preds = %bb1 - %tmp7 = getelementptr inbounds %struct.bar, %struct.bar* %arg, i64 0, i32 1, i64 undef - store i32 42, i32* %tmp7 + %tmp7 = getelementptr inbounds %struct.bar, ptr %arg, i64 0, i32 1, i64 undef + store i32 42, ptr %tmp7 br label %bb8 bb8: ; preds = %bb6, %bb3