summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2019-06-23 19:22:13 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2019-06-23 19:22:13 +0000
commite2291f5af92920ab8f85057b0b1c83e3eae200d5 (patch)
tree1108df8ea655f9292f01c95c8df8123fd5549f6b /llvm
parentc8d94e78899b5aa5e32764edba00b6b060c49d42 (diff)
downloadbcm5719-llvm-e2291f5af92920ab8f85057b0b1c83e3eae200d5.tar.gz
bcm5719-llvm-e2291f5af92920ab8f85057b0b1c83e3eae200d5.zip
Fix typo in comment; NFC
llvm-svn: 364159
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index c173f9e4c03..74b70278e3f 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);
OpenPOWER on IntegriCloud