[llvm] [AArch64] Check for streaming mode in HasSME* features. (PR #96302)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 10:23:46 PDT 2024
================
@@ -5008,7 +5013,7 @@ void AArch64InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
if (AArch64::FPR16RegClass.hasSubClassEq(RC))
Opc = AArch64::LDRHui;
else if (IsPNR || AArch64::PPRRegClass.hasSubClassEq(RC)) {
- assert(Subtarget.hasSVEorSME() &&
+ assert(Subtarget.isSVEorStreamingSVEAvailable() &&
"Unexpected register load without SVE load instructions");
assert((!IsPNR || Subtarget.hasSVE2p1() || Subtarget.hasSME2()) &&
"Unexpected register load without SVE2p1 or SME2");
----------------
paulwalker-arm wrote:
As above.
https://github.com/llvm/llvm-project/pull/96302
More information about the llvm-commits
mailing list