[llvm] r291532 - Fix a typo and also test a new machine for commit. NFC.

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 19:13:52 PST 2017


Author: trentxintong
Date: Mon Jan  9 21:13:52 2017
New Revision: 291532

URL: http://llvm.org/viewvc/llvm-project?rev=291532&view=rev
Log:
Fix a typo and also test a new machine for commit. NFC.

Modified:
    llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=291532&r1=291531&r2=291532&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Mon Jan  9 21:13:52 2017
@@ -2096,7 +2096,7 @@ static Value *genLoopLimit(PHINode *IndV
     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).
     //




More information about the llvm-commits mailing list