summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 75e03a50f39..23f9a848691 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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();
OpenPOWER on IntegriCloud