Fix a typo and also test a new machine for commit. NFC.

llvm-svn: 291532
This commit is contained in:
Xin Tong 2017-01-10 03:13:52 +00:00
parent d2791c604d
commit 02b1397ac3
1 changed files with 1 additions and 1 deletions

View File

@ -2096,7 +2096,7 @@ static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L,
return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit");
} else {
// In any other case, convert both IVInit and IVCount to integers before
// comparing. This may result in SCEV expension of pointers, but in practice
// comparing. This may result in SCEV expansion of pointers, but in practice
// SCEV will fold the pointer arithmetic away as such:
// BECount = (IVEnd - IVInit - 1) => IVLimit = IVInit (postinc).
//