[clang] [llvm] [Clang][LLVM][AArch64]Add new feature SSVE-BitPerm (PR #121947)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 01:52:44 PST 2025


================
@@ -155,8 +155,8 @@ def HasSVE2SM4       : Predicate<"Subtarget->isSVEAvailable() && Subtarget->hasS
                                  AssemblerPredicateWithAll<(all_of FeatureSVE2SM4), "sve2-sm4">;
 def HasSVE2SHA3      : Predicate<"Subtarget->isSVEAvailable() && Subtarget->hasSVE2SHA3()">,
                                  AssemblerPredicateWithAll<(all_of FeatureSVE2SHA3), "sve2-sha3">;
-def HasSVE2BitPerm   : Predicate<"Subtarget->isSVEAvailable() && Subtarget->hasSVE2BitPerm()">,
-                                 AssemblerPredicateWithAll<(all_of FeatureSVE2BitPerm), "sve2-bitperm">;
+def HasSVEBitPerm   : Predicate<"Subtarget->isSVEAvailable() && Subtarget->hasSVEBitPerm()">,
----------------
CarolineConcatto wrote:

I agree that we should not have Subtarget->isSVEAvailable(), that does not look correct if it only allows to run with sve.

https://github.com/llvm/llvm-project/pull/121947


More information about the llvm-commits mailing list