[llvm] [AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (PR #92130)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 15:02:29 PDT 2024
================
@@ -309,7 +309,7 @@ bool matchSplitStoreZero128(MachineInstr &MI, MachineRegisterInfo &MRI) {
if (!Store.isSimple())
return false;
LLT ValTy = MRI.getType(Store.getValueReg());
- if (!ValTy.isVector() || ValTy.getSizeInBits() != 128)
+ if (!ValTy.isVector() || ValTy.getSizeInBits().getKnownMinValue() != 128)
----------------
davemgreen wrote:
This should have a check for !Scalable, I believe.
https://github.com/llvm/llvm-project/pull/92130
More information about the llvm-commits
mailing list