[clang] [llvm] [Clang][LLVM][AArch64]Add new feature SSVE-BitPerm (PR #121947)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 08:07:08 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()">,
----------------
Lukacma wrote:
This predicate is incorrect as it forces SVE to be available and prevents them to be run in streaming mode, even though instructions it is used with can run in streaming mode only. I think predicate here should be similiar to how HasSSVE_FP8FMA is defined
https://github.com/llvm/llvm-project/pull/121947
More information about the llvm-commits
mailing list