Skip to content

Commit

Permalink
[TRE] Update comments. NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305636 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
trentxintong committed Jun 17, 2017
1 parent 5b6663a commit f477517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Scalar/TailRecursionElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f477517

Please sign in to comment.