[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
================
@@ -657,8 +657,8 @@ bool AArch64PostLegalizerCombiner::optimizeConsecutiveMemOpAddressing(
Register PtrBaseReg;
APInt Offset;
LLT StoredValTy = MRI.getType(St->getValueReg());
- unsigned ValSize = StoredValTy.getSizeInBits();
- if (ValSize < 32 || St->getMMO().getSizeInBits() != ValSize)
+ const auto ValSize = StoredValTy.getSizeInBits();
----------------
davemgreen wrote:
I think somewhere up above in this function we should bail out if the vector is scalable.
https://github.com/llvm/llvm-project/pull/92130
More information about the llvm-commits
mailing list