]> granicus.if.org Git - llvm/commitdiff
Fix a typo and also test a new machine for commit. NFC.
authorXin Tong <trent.xin.tong@gmail.com>
Tue, 10 Jan 2017 03:13:52 +0000 (03:13 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Tue, 10 Jan 2017 03:13:52 +0000 (03:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291532 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index 68faa886060a10f43967c02d4e85c08acc8e5f6f..3829aba9c8640b79df98978fb852053626a4f129 100644 (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).
     //