diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index ca606daabab7..0a53a3e291ce 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -12067,17 +12067,7 @@ SDValue X86TargetLowering::LowerFSINCOS(SDValue Op, SelectionDAG &DAG) const { /*doesNotRet=*/false, /*isReturnValueUsed*/true, Callee, Args, DAG, dl); std::pair CallResult = LowerCallTo(CLI); -#if 1 return CallResult.first; -#else - SDValue RetSin = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, ArgVT, - CallResult.first, DAG.getIntPtrConstant(0)); - SDValue RetCos = DAG.getNode(ISD::EXTRACT_ELEMENT, dl, ArgVT, - CallResult.first, DAG.getIntPtrConstant(1)); - - SDVTList Tys = DAG.getVTList(ArgVT, ArgVT); - return DAG.getNode(ISD::MERGE_VALUES, dl, Tys, RetSin, RetCos); -#endif } /// LowerOperation - Provide custom lowering hooks for some operations.