summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-26 18:32:54 +0000
committerDan Gohman <gohman@apple.com>2010-01-26 18:32:54 +0000
commita01418d75ae571537231ad577fdd90de0e2b75b6 (patch)
treea82a6a4aab60e98447cd54aaa574d92b3f19f3b8 /llvm/lib/Analysis/ScalarEvolution.cpp
parent6165611986de4036a393bdafa743fa35d03fccfc (diff)
downloadbcm5719-llvm-a01418d75ae571537231ad577fdd90de0e2b75b6.tar.gz
bcm5719-llvm-a01418d75ae571537231ad577fdd90de0e2b75b6.zip
Fix a typo in a comment that Duncan noticed.
llvm-svn: 94562
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 9f649edca70..b56318e78b6 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -5013,7 +5013,7 @@ ScalarEvolution::HowManyLessThans(const SCEV *LHS, const SCEV *RHS,
// Note that it's not sufficient to check NoWrap here, because even
// though the value after a wrap is undefined, it's not undefined
// behavior, so if wrap does occur, the loop could either terminate or
- // loop infinately, but in either case, the loop is guaranteed to
+ // loop infinitely, but in either case, the loop is guaranteed to
// iterate at least until the iteration where the wrapping occurs.
const SCEV *One = getIntegerSCEV(1, Step->getType());
if (isSigned) {
OpenPOWER on IntegriCloud