From 1413549418f8e59be157875c43e4183fcd7a61e5 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 9 Feb 2010 17:00:40 +0000 Subject: [PATCH] Mention IndVarSimplify in the comment by getSmallConstantTripCount, as is done for getTripCount. llvm-svn: 95666 --- llvm/include/llvm/Analysis/LoopInfo.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/include/llvm/Analysis/LoopInfo.h b/llvm/include/llvm/Analysis/LoopInfo.h index 33bf0b037488..d5e4d51f7e71 100644 --- a/llvm/include/llvm/Analysis/LoopInfo.h +++ b/llvm/include/llvm/Analysis/LoopInfo.h @@ -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