Mercurial > hg > CbC > CbC_llvm
diff polly/test/ScopInfo/statistics.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/statistics.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/ScopInfo/statistics.ll Fri Aug 18 09:04:13 2023 +0900 @@ -38,7 +38,7 @@ ; target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -define void @foo_1d(float* %A) { +define void @foo_1d(ptr %A) { bb: br label %bb1 @@ -49,10 +49,10 @@ bb2: ; preds = %bb1 %tmp = sitofp i64 %i.0 to float - %tmp3 = getelementptr inbounds float, float* %A, i64 %i.0 - %tmp4 = load float, float* %tmp3, align 4 + %tmp3 = getelementptr inbounds float, ptr %A, i64 %i.0 + %tmp4 = load float, ptr %tmp3, align 4 %tmp5 = fadd float %tmp4, %tmp - store float %tmp5, float* %tmp3, align 4 + store float %tmp5, ptr %tmp3, align 4 br label %bb6 bb6: ; preds = %bb2 @@ -63,7 +63,7 @@ ret void } -define void @foo_2d(float* %A) { +define void @foo_2d(ptr %A) { bb: br label %bb2 @@ -84,10 +84,10 @@ %tmp = add nuw nsw i64 %i.0, %j.0 %tmp6 = sitofp i64 %tmp to float %tmp7 = add nuw nsw i64 %i.0, %j.0 - %tmp8 = getelementptr inbounds float, float* %A, i64 %tmp7 - %tmp9 = load float, float* %tmp8, align 4 + %tmp8 = getelementptr inbounds float, ptr %A, i64 %tmp7 + %tmp9 = load float, ptr %tmp8, align 4 %tmp10 = fadd float %tmp9, %tmp6 - store float %tmp10, float* %tmp8, align 4 + store float %tmp10, ptr %tmp8, align 4 br label %bb11 bb11: ; preds = %bb5 @@ -105,7 +105,7 @@ ret void } -define void @foo_3d(float* %A) { +define void @foo_3d(ptr %A) { bb: br label %bb3 @@ -136,10 +136,10 @@ %tmp10 = sitofp i64 %tmp9 to float %tmp11 = add nuw nsw i64 %i.0, %j.0 %tmp12 = add nuw nsw i64 %tmp11, %k.0 - %tmp13 = getelementptr inbounds float, float* %A, i64 %tmp12 - %tmp14 = load float, float* %tmp13, align 4 + %tmp13 = getelementptr inbounds float, ptr %A, i64 %tmp12 + %tmp14 = load float, ptr %tmp13, align 4 %tmp15 = fadd float %tmp14, %tmp10 - store float %tmp15, float* %tmp13, align 4 + store float %tmp15, ptr %tmp13, align 4 br label %bb16 bb16: ; preds = %bb8 @@ -164,7 +164,7 @@ ret void } -define void @foo_4d(float* %A) { +define void @foo_4d(ptr %A) { bb: br label %bb4 @@ -205,10 +205,10 @@ %tmp15 = add nuw nsw i64 %i.0, %j.0 %tmp16 = add nuw nsw i64 %tmp15, %k.0 %tmp17 = add nuw nsw i64 %tmp16, %l.0 - %tmp18 = getelementptr inbounds float, float* %A, i64 %tmp17 - %tmp19 = load float, float* %tmp18, align 4 + %tmp18 = getelementptr inbounds float, ptr %A, i64 %tmp17 + %tmp19 = load float, ptr %tmp18, align 4 %tmp20 = fadd float %tmp19, %tmp14 - store float %tmp20, float* %tmp18, align 4 + store float %tmp20, ptr %tmp18, align 4 br label %bb21 bb21: ; preds = %bb11