[llvm] [AArch64][SDAG] Enable +sme2p2/+sve2p2 lowering for compressstore (PR #218624)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 01:27:17 PDT 2026


================
@@ -2303,6 +2303,13 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     }
   }
 
+  if ((Subtarget->isSVEAvailable() && Subtarget->hasSVE2p2()) ||
----------------
sdesmalen-arm wrote:

just a nit, I think this can be:

```suggestion
  if (Subtarget->hasSVE2p2() ||
```

because if the target has `SVE2p2`, SVE is always available.

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


More information about the llvm-commits mailing list