summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-06-17 16:18:36 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-06-17 16:18:36 +0000
commitd5b4d0b53a4eb9a303d1627f096cc7da31bae5c5 (patch)
treed7353276850f552d25cdfe6334a77814e0541b05 /llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
parent3149aee3c22c21cfc9c23603ef39b6b0357aa6ae (diff)
downloadbcm5719-llvm-d5b4d0b53a4eb9a303d1627f096cc7da31bae5c5.tar.gz
bcm5719-llvm-d5b4d0b53a4eb9a303d1627f096cc7da31bae5c5.zip
[TRE] Update comments. NFC
llvm-svn: 305636
Diffstat (limited to 'llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp b/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
index 3e5993618c4..93c4b57514c 100644
--- a/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
@@ -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) {
OpenPOWER on IntegriCloud