[clang] [Clang][SVE2.1] Add intrinsics for `WHILEcc` resulting in predicate pair (PR #75107)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 12 05:35:52 PST 2023
================
@@ -1341,6 +1341,26 @@ def SVWHILEHS_U32 : SInst<"svwhilege_{d}[_{1}]", "Pmm", "PUcPUsPUiPUl", MergeNon
def SVWHILEHS_U64 : SInst<"svwhilege_{d}[_{1}]", "Pnn", "PUcPUsPUiPUl", MergeNone, "aarch64_sve_whilehs", [IsOverloadWhile]>;
}
+let TargetGuard = "sve2p1|sme2" in {
----------------
CarolineConcatto wrote:
So that is the problem. It should not work with sme2 when we do not have the attribute __arm_streaming_compatible . If we check the ACLE these new functions needs it:
svboolx2_t svwhilege_b8[_s64]_x2(int64_t rn, int64_t rm)
__arm_streaming_compatible;
I believe this is under work atm
https://github.com/llvm/llvm-project/pull/75107
More information about the cfe-commits
mailing list