Mercurial > hg > CbC > CbC_llvm
diff polly/test/ScopDetect/multidim.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.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/ScopDetect/multidim.ll Fri Aug 18 09:04:13 2023 +0900 @@ -5,7 +5,7 @@ ; Make sure we do not crash in this test case. -define void @hoge(i8* %arg) { +define void @hoge(ptr %arg) { bb: br label %bb9 @@ -17,18 +17,17 @@ %tmp13 = add i64 %tmp12, undef %tmp14 = add i64 %tmp13, 8 %tmp15 = sub i64 %tmp14, undef - %tmp16 = getelementptr i8, i8* %arg, i64 %tmp15 - %tmp17 = getelementptr inbounds i8, i8* %tmp16, i64 4 - %tmp18 = getelementptr inbounds i8, i8* %tmp17, i64 20 + %tmp16 = getelementptr i8, ptr %arg, i64 %tmp15 + %tmp17 = getelementptr inbounds i8, ptr %tmp16, i64 4 + %tmp18 = getelementptr inbounds i8, ptr %tmp17, i64 20 br label %bb19 bb19: ; preds = %bb19, %bb9 br i1 false, label %bb19, label %bb20 bb20: ; preds = %bb19 - %tmp21 = getelementptr inbounds i8, i8* %tmp18, i64 4 - %tmp22 = bitcast i8* %tmp21 to i32* - %tmp23 = load i32, i32* %tmp22 + %tmp21 = getelementptr inbounds i8, ptr %tmp18, i64 4 + %tmp23 = load i32, ptr %tmp21 br label %bb24 bb24: ; preds = %bb20