[llvm] [DependenceAnalysis] Fix incorrect analysis of wrapping AddRec expressions (PR #154982)
Sebastian Pop via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 06:50:49 PDT 2025
================
@@ -6439,8 +6439,129 @@ void ScalarEvolution::setNoWrapFlags(SCEVAddRecExpr *AddRec,
}
}
-ConstantRange ScalarEvolution::
-getRangeForUnknownRecurrence(const SCEVUnknown *U) {
+std::optional<bool>
+ScalarEvolution::mayAddRecWrap(const SCEVAddRecExpr *AddRec) {
----------------
sebpop wrote:
Thanks again for your review with insights on the low level details such as the NW flag being insufficient for DA uses.
https://github.com/llvm/llvm-project/pull/154982
More information about the llvm-commits
mailing list