================ @@ -28729,7 +28731,7 @@ static SDValue GenerateFixedLengthSVETBL(SDValue Op, SDValue Op1, SDValue Op2, unsigned BitsPerElt = VTOp1.getVectorElementType().getSizeInBits(); unsigned IndexLen = MinSVESize / BitsPerElt; unsigned ElementsPerVectorReg = VTOp1.getVectorNumElements(); - uint64_t MaxOffset = APInt(BitsPerElt, -1, false).getZExtValue(); + uint64_t MaxOffset = APInt(BitsPerElt, -1, true).getZExtValue(); ---------------- RKSimon wrote:
Seems convoluted - `APInt::getAllOnes(BitsPerElt).getZExtValue()` or just do a `~0ULL >> (64 - BitsPerElt)`? https://github.com/llvm/llvm-project/pull/80309 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits