]> granicus.if.org Git - llvm/commitdiff
[TRE] Update comments. NFC
authorXin Tong <trent.xin.tong@gmail.com>
Sat, 17 Jun 2017 16:18:36 +0000 (16:18 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Sat, 17 Jun 2017 16:18:36 +0000 (16:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305636 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/TailRecursionElimination.cpp

index 3e5993618c4c0cead9b4ad017abdf9c9a7cc348b..93c4b57514cd5eeb4fc4dca0576d189b68bd764c 100644 (file)
@@ -679,7 +679,7 @@ static bool foldReturnAndProcessPred(BasicBlock *BB, ReturnInst *Ret,
 
   // If the return block contains nothing but the return and PHI's,
   // there might be an opportunity to duplicate the return in its
-  // predecessors and perform TRC there. Look for predecessors that end
+  // predecessors and perform TRE there. Look for predecessors that end
   // in unconditional branch and recursive call(s).
   SmallVector<BranchInst*, 8> UncondBranchPreds;
   for (pred_iterator PI = pred_begin(BB), E = pred_end(BB); PI != E; ++PI) {