changeset 118:cc378dc45926

suppress tailcall error mesage
author one
date Thu, 25 Aug 2016 19:09:12 +0900
parents facf19d07cd9
children d9df2cbd60cd
files lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp	Wed Aug 24 20:10:41 2016 +0900
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp	Thu Aug 25 19:09:12 2016 +0900
@@ -5412,8 +5412,8 @@
   // Target-dependent constraints are checked within TLI->LowerCallTo.
   if (isTailCall && !isInTailCallPosition(CS, DAG.getTarget())) {
 #ifndef noCbC
-    errs() << CS.getCaller()->getName() + " : Tail call elimination was failed on goto ";
-    errs() << "warning: not unreachable instruction in a tail call.\n ";
+    // errs() << CS.getCaller()->getName() + " : Tail call elimination was failed on goto ";
+    // errs() << "warning: not unreachable instruction in a tail call.\n ";
 #endif
     isTailCall = false;
   }