Mention IndVarSimplify in the comment by getSmallConstantTripCount, as
authorDan Gohman <gohman@apple.com>
Tue, 9 Feb 2010 17:00:40 +0000 (17:00 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 9 Feb 2010 17:00:40 +0000 (17:00 +0000)
is done for getTripCount.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95666 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index 33bf0b0374886dbe24c7d665e25701f29c9ab736..d5e4d51f7e711d4fc8405c60a423505bfd04eaa6 100644 (file)
@@ -553,6 +553,10 @@ public:
   /// normal unsigned value, if possible. Returns 0 if the trip count is unknown
   /// of not constant. Will also return 0 if the trip count is very large
   /// (>= 2^32)
+  ///
+  /// The IndVarSimplify pass transforms loops to have a form that this
+  /// function easily understands.
+  ///
   unsigned getSmallConstantTripCount() const;
 
   /// getSmallConstantTripMultiple - Returns the largest constant divisor of the