[llvm] [AArch64][SDAG] Enable +sme2p2/+sve2p2 lowering for compressstore (PR #218624)
Jack Styles via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 08:02:38 PDT 2026
================
@@ -334,13 +334,21 @@ class AArch64TTIImpl final : public BasicTTIImplBase<AArch64TTIImpl> {
}
bool isElementTypeLegalForCompressStore(Type *Ty) const {
- return Ty->isFloatTy() || Ty->isDoubleTy() || Ty->isIntegerTy(32) ||
- Ty->isIntegerTy(64);
+ // 32-bit and 64-bit element types are legal if we have SVE.
+ if (Ty->getScalarSizeInBits() == 32 || Ty->getScalarSizeInBits() == 64)
----------------
Stylie777 wrote:
Done (and done)
https://github.com/llvm/llvm-project/pull/218624
More information about the llvm-commits
mailing list