[llvm] r305636 - [TRE] Update comments. NFC

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 17 09:18:37 PDT 2017


Author: trentxintong
Date: Sat Jun 17 11:18:36 2017
New Revision: 305636

URL: http://llvm.org/viewvc/llvm-project?rev=305636&view=rev
Log:
[TRE] Update comments. NFC

Modified:
    llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp?rev=305636&r1=305635&r2=305636&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp Sat Jun 17 11:18:36 2017
@@ -679,7 +679,7 @@ static bool foldReturnAndProcessPred(Bas
 
   // 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) {




More information about the llvm-commits mailing list