From 5fae5e00b26a33fcdc2c350ddbe5b0bc36b67ea6 Mon Sep 17 00:00:00 2001 From: Sanjoy Das <sanjoy@playingwithpointers.com> Date: Sun, 23 Jun 2019 19:22:13 +0000 Subject: [PATCH] Fix typo in comment; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364159 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/IndVarSimplify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index c173f9e4c03..74b70278e3f 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -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); -- 2.40.0