[llvm] [LAA] Only use inbounds/nusw in isNoWrap if the GEP is dereferenced. (PR #161445)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 27 03:32:10 PDT 2025
================
@@ -1602,7 +1620,7 @@ std::optional<int64_t>
llvm::getPtrStride(PredicatedScalarEvolution &PSE, Type *AccessTy, Value *Ptr,
const Loop *Lp,
const DenseMap<Value *, const SCEV *> &StridesMap,
- bool Assume, bool ShouldCheckWrap) {
+ bool Assume, bool ShouldCheckWrap, DominatorTree *DT) {
----------------
artagnon wrote:
Can it be made unconditional in getPtrStride too? Could you kindly check its users?
https://github.com/llvm/llvm-project/pull/161445
More information about the llvm-commits
mailing list