[llvm] 91f4655 - snapshot - do not push
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 1 16:59:07 PDT 2021
Author: Philip Reames
Date: 2021-09-01T16:59:01-07:00
New Revision: 91f4655d9273ecefab1b7f0ea26d44f5de6fd0af
URL: https://github.com/llvm/llvm-project/commit/91f4655d9273ecefab1b7f0ea26d44f5de6fd0af
DIFF: https://github.com/llvm/llvm-project/commit/91f4655d9273ecefab1b7f0ea26d44f5de6fd0af.diff
LOG: snapshot - do not push
Added:
Modified:
llvm/lib/Analysis/ScalarEvolution.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 9ceae4aeca7a7..144fe0766d061 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -11632,9 +11632,9 @@ ScalarEvolution::howManyLessThans(const SCEV *LHS, const SCEV *RHS,
//
// a) IV is either nuw or nsw depending upon signedness (indicated by the
// NoWrap flag).
- // b) loop is single exit with no side effects.
- // c) loop has no abnormal exits
- //
+ // b) the loop is guaranteed to be finite (e.g. is mustprogress and has
+ // no side effects within the loop)
+ // b) loop has a single static exit (with no abnormal exits)
//
// Precondition a) implies that if the stride is negative, this is a single
// trip loop. The backedge taken count formula reduces to zero in this case.
More information about the llvm-commits
mailing list