summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/LoopInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-09 17:00:40 +0000
committerDan Gohman <gohman@apple.com>2010-02-09 17:00:40 +0000
commitb14bc1f6f82c7f650226f39ed0256d8189eb2a1b (patch)
tree8de2fad48b8c2ea26cb12f1d35782fbcf8d5bd7c /include/llvm/Analysis/LoopInfo.h
parentc77ccaea14398aaf92d3f2a36d074b77d601edaa (diff)
downloadllvm-b14bc1f6f82c7f650226f39ed0256d8189eb2a1b.tar.gz
llvm-b14bc1f6f82c7f650226f39ed0256d8189eb2a1b.tar.bz2
llvm-b14bc1f6f82c7f650226f39ed0256d8189eb2a1b.tar.xz
Mention IndVarSimplify in the comment by getSmallConstantTripCount, as
is done for getTripCount. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LoopInfo.h')
-rw-r--r--include/llvm/Analysis/LoopInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index 33bf0b0374..d5e4d51f7e 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/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