From e2291f5af92920ab8f85057b0b1c83e3eae200d5 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sun, 23 Jun 2019 19:22:13 +0000 Subject: [PATCH] Fix typo in comment; NFC llvm-svn: 364159 --- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index c173f9e4c03a..74b70278e3f6 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/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);