Fix a typo in a comment that Duncan noticed.

llvm-svn: 94562
This commit is contained in:
Dan Gohman 2010-01-26 18:32:54 +00:00
parent 6165611986
commit a01418d75a
1 changed files with 1 additions and 1 deletions

View 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) {