[llvm] [AArch64][SME] Various tests should work with +sme, just as they do for +sve (PR #65260)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 07:24:58 PDT 2023

@@ -3961,7 +3961,7 @@ void AArch64InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
     if (AArch64::FPR16RegClass.hasSubClassEq(RC))
       Opc = AArch64::STRHui;
     else if (AArch64::PPRRegClass.hasSubClassEq(RC)) {
-      assert(Subtarget.hasSVE() && "Unexpected register store without SVE");
+      assert(Subtarget.hasSVEorSME() && "Unexpected register store without SVE");
sdesmalen-arm wrote:

I have changed the message to reason about "SVE store instructions" (rather than "SVE or SME")


More information about the llvm-commits mailing list