Skip to content

Commit

Permalink
Improve wording to make it sounds more like a change than an analysis.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208370 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nlewycky committed May 8, 2014
1 parent 73773ce commit 8ec421c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Transforms/Scalar/TailRecursionElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ bool TailCallElim::markTails(Function &F, bool &AllCallsAreTailCalls) {
if (SafeToTail) {
F.getContext().emitOptimizationRemark(
"tailcallelim", F, CI->getDebugLoc(),
"found readnone tail call candidate");
"marked this readnone call a tail call candidate");
CI->setTailCall();
Modified = true;
continue;
Expand Down Expand Up @@ -366,7 +366,8 @@ bool TailCallElim::markTails(Function &F, bool &AllCallsAreTailCalls) {
// If the escape point was part way through the block, calls after the
// escape point wouldn't have been put into DeferredTails.
F.getContext().emitOptimizationRemark(
"tailcallelim", F, CI->getDebugLoc(), "found tail call candidate");
"tailcallelim", F, CI->getDebugLoc(),
"marked this call a tail call candidate");
CI->setTailCall();
Modified = true;
} else {
Expand Down

0 comments on commit 8ec421c

Please sign in to comment.