summaryrefslogtreecommitdiff
path: root/lib
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
commit155eec7fa9f39e02ffcdfb2fd646680bf20f4047 (patch)
tree6a7795533ded0ba4795c6874a5bd0cad4a0a7b4f /lib
parentea32d8f46514f2c9168505793621ea8f1ed54be5 (diff)
downloadllvm-155eec7fa9f39e02ffcdfb2fd646680bf20f4047.tar.gz
llvm-155eec7fa9f39e02ffcdfb2fd646680bf20f4047.tar.bz2
llvm-155eec7fa9f39e02ffcdfb2fd646680bf20f4047.tar.xz
Fix a typo in a comment that Duncan noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index 9f649edca7..b56318e78b 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/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) {