[clang] [llvm] [AArch64] Enable svcompact intrinsic in streaming mode with SME2.2 (PR #151703)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 08:55:45 PDT 2025
================
@@ -980,8 +980,8 @@ defm SVCLASTA_N : SVEPerm<"svclasta[_n_{d}]", "sPsd", "aarch64_sve_clasta_n">;
defm SVCLASTB : SVEPerm<"svclastb[_{d}]", "dPdd", "aarch64_sve_clastb">;
defm SVCLASTB_N : SVEPerm<"svclastb[_n_{d}]", "sPsd", "aarch64_sve_clastb_n">;
-let SVETargetGuard = "sve", SMETargetGuard = InvalidMode in {
-def SVCOMPACT : SInst<"svcompact[_{d}]", "dPd", "ilUiUlfd", MergeNone, "aarch64_sve_compact">;
+let SVETargetGuard = "sve,sme2p2", SMETargetGuard = "sme2p2" in {
----------------
paulwalker-arm wrote:
You shouldn't need to change `SVETargetGuard=`, in fact I think the change will likely break stuff because it'll force the need for sme2p2 for non-streaming functions when only sve is required.
https://github.com/llvm/llvm-project/pull/151703
More information about the llvm-commits
mailing list