[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 02:10:12 PDT 2026


================
@@ -2227,8 +2227,11 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
 
     if (Subtarget->hasSVE2p2() || Subtarget->hasSME2p2()) {
       // With +sve2p2/+sme2p2 the full range of vector types are supported.
-      for (auto VT : {MVT::nxv16i8, MVT::nxv8i16, MVT::nxv8f16, MVT::nxv8bf16})
+      for (auto VT :
+           {MVT::nxv16i8, MVT::nxv8i16, MVT::nxv8f16, MVT::nxv8bf16}) {
+        setOperationAction(ISD::MSTORE, VT, Custom);
----------------
Stylie777 wrote:

Done

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


More information about the llvm-commits mailing list