]> granicus.if.org Git - llvm/commitdiff
Fix a typo. NFC
authorXin Tong <trent.xin.tong@gmail.com>
Sat, 7 Jan 2017 04:30:58 +0000 (04:30 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Sat, 7 Jan 2017 04:30:58 +0000 (04:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291335 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index 6aeb5237ffe35ff886d7481f99cc67be684d6e4d..68faa886060a10f43967c02d4e85c08acc8e5f6f 100644 (file)
@@ -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);