[llvm-commits] [llvm] r95666 - /llvm/trunk/include/llvm/Analysis/LoopInfo.h

Dan Gohman gohman at apple.com
Tue Feb 9 09:00:40 PST 2010


Author: djg
Date: Tue Feb  9 11:00:40 2010
New Revision: 95666

URL: http://llvm.org/viewvc/llvm-project?rev=95666&view=rev
Log:
Mention IndVarSimplify in the comment by getSmallConstantTripCount, as
is done for getTripCount.

Modified:
    llvm/trunk/include/llvm/Analysis/LoopInfo.h

Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=95666&r1=95665&r2=95666&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Tue Feb  9 11:00:40 2010
@@ -553,6 +553,10 @@
   /// 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





More information about the llvm-commits mailing list