Mercurial > hg > CbC > CbC_llvm
diff polly/test/ForwardOpTree/forward_load_unrelatedunusual.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/ForwardOpTree/forward_load_unrelatedunusual.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/ForwardOpTree/forward_load_unrelatedunusual.ll Fri Aug 18 09:04:13 2023 +0900 @@ -13,7 +13,7 @@ ; A[j] = val; ; } ; -define void @func(i32 %n, double* noalias nonnull %A, double* noalias nonnull %B, double *noalias %C) { +define void @func(i32 %n, ptr noalias nonnull %A, ptr noalias nonnull %B, ptr noalias %C) { entry: br label %for @@ -23,15 +23,15 @@ br i1 %j.cmp, label %bodyA, label %exit bodyA: - %B_idx = getelementptr inbounds double, double* %B, i32 %j - %val = load double, double* %B_idx - store double 21.0, double* %C - store double 41.0, double* %C + %B_idx = getelementptr inbounds double, ptr %B, i32 %j + %val = load double, ptr %B_idx + store double 21.0, ptr %C + store double 41.0, ptr %C br label %bodyB bodyB: - %A_idx = getelementptr inbounds double, double* %A, i32 %j - store double %val, double* %A_idx + %A_idx = getelementptr inbounds double, ptr %A, i32 %j + store double %val, ptr %A_idx br label %inc inc: @@ -59,6 +59,6 @@ ; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0] ; CHECK-NEXT: [n] -> { Stmt_bodyB[i0] -> MemRef_A[i0] }; ; CHECK-NEXT: Instructions { -; CHECK-NEXT: %val = load double, double* %B_idx, align 8 -; CHECK-NEXT: store double %val, double* %A_idx, align 8 +; CHECK-NEXT: %val = load double, ptr %B_idx, align 8 +; CHECK-NEXT: store double %val, ptr %A_idx, align 8 ; CHECK-NEXT: }