[llvm] [SLPVectorizer] Widen strided loads. (PR #153074)
Mikhail Gudim via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 05:55:09 PDT 2025
================
@@ -6402,11 +6446,14 @@ static const SCEV *calculateRtStride(ArrayRef<Value *> PointerOps, Type *ElemTy,
const auto *SC = dyn_cast<SCEVConstant>(Coeff);
if (!SC || isa<SCEVCouldNotCompute>(SC))
return nullptr;
+ Coeffs.push_back((int64_t)SC->getAPInt().getLimitedValue());
----------------
mgudim wrote:
`getLimitedValue` returns `uint64_t`
https://github.com/llvm/llvm-project/pull/153074
More information about the llvm-commits
mailing list