[llvm] [LAA/SLP] Don't truncate APInt in getPointersDiff (PR #139941)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed May 14 15:12:18 PDT 2025
================
@@ -5894,7 +5899,7 @@ static bool isMaskedLoadCompress(
VectorType *&LoadVecTy) {
InterleaveFactor = 0;
Type *ScalarTy = VL.front()->getType();
- const unsigned Sz = VL.size();
+ const uint64_t Sz = VL.size();
----------------
rnk wrote:
supernit: size_t
https://github.com/llvm/llvm-project/pull/139941
More information about the llvm-commits
mailing list