[llvm] [LAA] Clean up APInt-overflow related code (PR #140048)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 29 05:46:07 PDT 2025
================
@@ -842,19 +842,12 @@ getStrideFromAddRec(const SCEVAddRecExpr *AR, const Loop *Lp, Type *AccessTy,
TypeSize AllocSize = DL.getTypeAllocSize(AccessTy);
int64_t Size = AllocSize.getFixedValue();
- // Huge step value - give up.
- if (APStepVal->getBitWidth() > 64)
----------------
artagnon wrote:
Thanks a lot for the test! The patch does indeed show functional changes now :)
https://github.com/llvm/llvm-project/pull/140048
More information about the llvm-commits
mailing list