]> granicus.if.org Git - llvm/commitdiff
Fix typo in comment; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 23 Jun 2019 19:22:13 +0000 (19:22 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 23 Jun 2019 19:22:13 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364159 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index c173f9e4c03a4eefaff19b0695302a7e220048bf..74b70278e3f6d5b71c318dc187f125c234239bd4 100644 (file)
@@ -1312,7 +1312,7 @@ WidenIV::WidenedRecTy WidenIV::getWideRecurrence(NarrowIVDefUse DU) {
   return {AddRec, ExtKind};
 }
 
-/// This IV user cannot be widen. Replace this use of the original narrow IV
+/// This IV user cannot be widened. Replace this use of the original narrow IV
 /// with a truncation of the new wide IV to isolate and eliminate the narrow IV.
 static void truncateIVUse(NarrowIVDefUse DU, DominatorTree *DT, LoopInfo *LI) {
   auto *InsertPt = getInsertPointForUses(DU.NarrowUse, DU.NarrowDef, DT, LI);