Revert "snapshot - do not push"
authorPhilip Reames <listmail@philipreames.com>
Wed, 1 Sep 2021 23:59:23 +0000 (16:59 -0700)
committerPhilip Reames <listmail@philipreames.com>
Wed, 1 Sep 2021 23:59:23 +0000 (16:59 -0700)
This reverts commit 91f4655d9273ecefab1b7f0ea26d44f5de6fd0af.

This wasn't intented to be pushed, sorry.

llvm/lib/Analysis/ScalarEvolution.cpp

index 144fe07..9ceae4a 100644 (file)
@@ -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) 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)
+    // b) loop is single exit with no side effects.
+    // c) loop has 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.