diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index bc6d84eeec17..2bff139228fc 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -1339,6 +1339,8 @@ X86TargetLowering::LowerReturn(SDValue Chain, } bool X86TargetLowering::isUsedByReturnOnly(SDNode *N) const { + // Temporarily disabled. + return false; if (N->getNumValues() != 1) return false; if (!N->hasNUsesOfValue(1, 0)) diff --git a/llvm/test/CodeGen/X86/sibcall-5.ll b/llvm/test/CodeGen/X86/sibcall-5.ll index 4a2e7fbbe2a3..24b88e4cf876 100644 --- a/llvm/test/CodeGen/X86/sibcall-5.ll +++ b/llvm/test/CodeGen/X86/sibcall-5.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=x86-64 | FileCheck %s +; XFAIL: * ; Sibcall optimization of expanded libcalls. ; rdar://8707777