[clang] [llvm] [AArch64] Update target feature requirements of SVE bfloat instructions (PR #75596)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 08:33:57 PST 2023
================
@@ -2086,7 +2086,7 @@ let TargetGuard = "sve2p1|sme2" in {
def SVCNTP_COUNT : SInst<"svcntp_{d}", "n}i", "QcQsQiQl", MergeNone, "aarch64_sve_cntp_{d}", [IsOverloadNone, IsStreamingCompatible], [ImmCheck<1, ImmCheck2_4_Mul2>]>;
}
-let TargetGuard = "sve2p1,b16b16" in {
+let TargetGuard = "(sve2|sme2),b16b16" in {
----------------
CarolineConcatto wrote:
I do believe we should add:
__arm_streaming_compatible;
in the tests.
svbfloat16_t test_svadd_bf16_m(svbool_t pg, svbfloat16_t op1, svbfloat16_t op2) __arm_streaming_compatible
{
return SVE_ACLE_FUNC(svadd, _bf16, _m)(pg, op1, op2);
}
https://github.com/llvm/llvm-project/pull/75596
More information about the llvm-commits
mailing list