Fix a typo in a comment that Duncan noticed.
authorDan Gohman <gohman@apple.com>
Tue, 26 Jan 2010 18:32:54 +0000 (18:32 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 26 Jan 2010 18:32:54 +0000 (18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94562 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 9f649edca705eab0483815dc68179a994b7a33f8..b56318e78b6909e236d97bb643ff520485735c47 100644 (file)
@@ -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) {