summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-07-21 20:59:22 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-07-21 20:59:22 +0000
commit135e5b9d53d704cdfa22e1c34aacd11d35390c98 (patch)
treebb4e7923303a171dfea98b5b7eb491f7f5fc0cbb
parentbbfd90fca40a49d4558d682ad1253536d56d0b0c (diff)
downloadbcm5719-llvm-135e5b9d53d704cdfa22e1c34aacd11d35390c98.tar.gz
bcm5719-llvm-135e5b9d53d704cdfa22e1c34aacd11d35390c98.zip
[SCEV][NFC] Fix a typo in a comment.
llvm-svn: 242834
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 9c7c1754e38..804005265cb 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -4744,12 +4744,12 @@ void ScalarEvolution::forgetValue(Value *V) {
}
/// getExact - Get the exact loop backedge taken count considering all loop
-/// exits. A computable result can only be return for loops with a single exit.
-/// Returning the minimum taken count among all exits is incorrect because one
-/// of the loop's exit limit's may have been skipped. HowFarToZero assumes that
-/// the limit of each loop test is never skipped. This is a valid assumption as
-/// long as the loop exits via that test. For precise results, it is the
-/// caller's responsibility to specify the relevant loop exit using
+/// exits. A computable result can only be returned for loops with a single
+/// exit. Returning the minimum taken count among all exits is incorrect
+/// because one of the loop's exit limit's may have been skipped. HowFarToZero
+/// assumes that the limit of each loop test is never skipped. This is a valid
+/// assumption as long as the loop exits via that test. For precise results, it
+/// is the caller's responsibility to specify the relevant loop exit using
/// getExact(ExitingBlock, SE).
const SCEV *
ScalarEvolution::BackedgeTakenInfo::getExact(ScalarEvolution *SE) const {
OpenPOWER on IntegriCloud