Remove debug prints from r238487

llvm-svn: 238501
This commit is contained in:
Reid Kleckner 2015-05-28 21:23:53 +00:00
parent 25c6a22e43
commit bfcad2f181

View File

@ -2789,13 +2789,8 @@ X86TargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
// GuaranteedTailCallOpt will override this.
GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee);
if (!G || (!G->getGlobal()->hasLocalLinkage() &&
G->getGlobal()->hasDefaultVisibility())) {
G->getGlobal()->hasDefaultVisibility()))
isTailCall = false;
if (G) {
llvm::errs() << "disabling tail call for default visibility symbol\n";
G->getGlobal()->dump();
}
}
}
bool IsMustTail = CLI.CS && CLI.CS->isMustTailCall();