1 ! RUN: %flang_fc1 -flang-experimental-hlfir -triple powerpc64le-unknown-unknown -target-cpu pwr10 -emit-llvm %s -o - | FileCheck --check-prefixes="LLVMIR" %s
2 ! REQUIRES: target=powerpc{{.*}}
4 subroutine test_xxmfacc()
9 end subroutine test_xxmfacc
11 !CHECK-LABEL: @test_xxmfacc_
12 !LLVMIR: %1 = alloca <512 x i1>, i64 1, align 64
13 !LLVMIR: %2 = load <512 x i1>, ptr %1, align 64
14 !LLVMIR: %3 = call <512 x i1> @llvm.ppc.mma.xxmfacc(<512 x i1> %2)
15 !LLVMIR: store <512 x i1> %3, ptr %1, align 64
17 subroutine test_xxmtacc()
22 end subroutine test_xxmtacc
24 !CHECK-LABEL: @test_xxmtacc_
25 !LLVMIR: %1 = alloca <512 x i1>, i64 1, align 64
26 !LLVMIR: %2 = load <512 x i1>, ptr %1, align 64
27 !LLVMIR: %3 = call <512 x i1> @llvm.ppc.mma.xxmtacc(<512 x i1> %2)
28 !LLVMIR: store <512 x i1> %3, ptr %1, align 64
30 subroutine test_xxsetaccz()
34 call mma_xxsetaccz(cq
)
35 end subroutine test_xxsetaccz
37 !CHECK-LABEL: @test_xxsetaccz_
38 !LLVMIR: %1 = alloca <512 x i1>, i64 1, align 64
39 !LLVMIR: %2 = call <512 x i1> @llvm.ppc.mma.xxsetaccz()
40 !LLVMIR: store <512 x i1> %2, ptr %1, align 64