[SCEV] Add a clarifying comment around ExitLimit construction
authorPhilip Reames <listmail@philipreames.com>
Fri, 25 Oct 2019 17:32:48 +0000 (10:32 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 25 Oct 2019 17:33:02 +0000 (10:33 -0700)
llvm/include/llvm/Analysis/ScalarEvolution.h

index 5cbc406..57f84c1 100644 (file)
@@ -1213,6 +1213,9 @@ private:
       Predicates.insert(P);
     }
 
+    /// Construct either an exact exit limit from a constant, or an unknown
+    /// one from a SCEVCouldNotCompute.  No other types of SCEVs are allowed
+    /// as arguments and asserts enforce that internally.
     /*implicit*/ ExitLimit(const SCEV *E);
 
     ExitLimit(