summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-01-07 04:30:58 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-01-07 04:30:58 +0000
commitee5cb65ada184a3426bae07834066464978eab33 (patch)
treeb6c465c161720f8a6917c554d647e7461ea0e9eb /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
parent0444343326cf442eee36165b12f4ebae4f3a0f90 (diff)
downloadbcm5719-llvm-ee5cb65ada184a3426bae07834066464978eab33.tar.gz
bcm5719-llvm-ee5cb65ada184a3426bae07834066464978eab33.zip
Fix a typo. NFC
llvm-svn: 291335
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-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 6aeb5237ffe..68faa886060 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -1423,7 +1423,7 @@ Instruction *WidenIV::widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter) {
if (widenLoopCompare(DU))
return nullptr;
- // This user does not evaluate to a recurence after widening, so don't
+ // This user does not evaluate to a recurrence after widening, so don't
// follow it. Instead insert a Trunc to kill off the original use,
// eventually isolating the original narrow IV so it can be removed.
truncateIVUse(DU, DT, LI);
OpenPOWER on IntegriCloud