Improve wording to make it sounds more like a change than an analysis.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 8 May 2014 23:04:46 +0000 (23:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 8 May 2014 23:04:46 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208370 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/TailRecursionElimination.cpp

index afc8fc0a29e5f92d019be3403bccf0afe5a627b5..946af800776f2e64680a180259b4428fa9a446ed 100644 (file)
@@ -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;
@@ -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 {