[llvm] [AArch64][SME] Shuffle lowering, assume that the minimal SVE register is 128-bit, when NOEN is not available. (PR #71647)
Dinar Temirbulatov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 04:21:45 PST 2023
================
@@ -25889,9 +25892,8 @@ static SDValue GenerateFixedLengthSVETBL(SDValue Op, SDValue Op1, SDValue Op2,
unsigned ElementsPerVectorReg = VTOp1.getVectorNumElements();
unsigned MaskSize = ShuffleMask.size();
uint64_t MaxOffset = APInt(BitsPerElt, -1, false).getZExtValue();
- assert(ElementsPerVectorReg <= IndexLen && MaskSize <= IndexLen &&
+ assert(ElementsPerVectorReg <= IndexLen && ShuffleMask.size() <= IndexLen &&
----------------
dtemirbulatov wrote:
oh, if I build without assert then it complains about unused variable.
https://github.com/llvm/llvm-project/pull/71647
More information about the llvm-commits
mailing list