[llvm] r208370 - Improve wording to make it sounds more like a change than an analysis.
Nick Lewycky
nicholas at mxc.ca
Thu May 8 16:04:46 PDT 2014
Author: nicholas
Date: Thu May 8 18:04:46 2014
New Revision: 208370
URL: http://llvm.org/viewvc/llvm-project?rev=208370&view=rev
Log:
Improve wording to make it sounds more like a change than an analysis.
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=208370&r1=208369&r2=208370&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/TailRecursionElimination.cpp Thu May 8 18:04:46 2014
@@ -320,7 +320,7 @@ bool TailCallElim::markTails(Function &F
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;
@@ -366,7 +366,8 @@ bool TailCallElim::markTails(Function &F
// 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 {
More information about the llvm-commits
mailing list