aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/ScalarEvolution.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-02 21:20:46 +0000
committerAndrew Trick <atrick@apple.com>2011-09-02 21:20:46 +0000
commit252ef7a61a9455c1e5d7b8a5a5f7ec8b3a75e200 (patch)
tree204816c5ea4012cc8f535ea01b09922e868a4fd6 /include/llvm/Analysis/ScalarEvolution.h
parent271439053d583b39e128a06ed6122593d76b3164 (diff)
downloadexternal_llvm-252ef7a61a9455c1e5d7b8a5a5f7ec8b3a75e200.zip
external_llvm-252ef7a61a9455c1e5d7b8a5a5f7ec8b3a75e200.tar.gz
external_llvm-252ef7a61a9455c1e5d7b8a5a5f7ec8b3a75e200.tar.bz2
Comment and clarifying assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 6e30b31..f249bcf 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -319,8 +319,9 @@ namespace llvm {
const SCEV *getExact(ScalarEvolution *SE) const;
/// getExact - Return the number of times this loop exit may fall through
- /// to the back edge. The loop is guaranteed not to exit via this block
- /// before this number of iterations, but may exit via another block.
+ /// to the back edge, or SCEVCouldNotCompute. The loop is guaranteed not
+ /// to exit via this block before this number of iterations, but may exit
+ /// via another block.
const SCEV *getExact(BasicBlock *ExitingBlock, ScalarEvolution *SE) const;
/// getMax - Get the max backedge taken count for the loop.