diff options
author | Evan Cheng <evan.cheng@apple.com> | 2013-01-29 18:08:22 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2013-01-29 18:08:22 +0000 |
commit | 9b5a14d59d827166d1fea5368060c7462d8f1db1 (patch) | |
tree | 9efe0962f50f25a008136179ddac90043cf5b964 /lib/Target/X86 | |
parent | f1af1feeee0f0ec797410762c006211f9c1e2a0f (diff) | |
download | external_llvm-9b5a14d59d827166d1fea5368060c7462d8f1db1.zip external_llvm-9b5a14d59d827166d1fea5368060c7462d8f1db1.tar.gz external_llvm-9b5a14d59d827166d1fea5368060c7462d8f1db1.tar.bz2 |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index ca606da..0a53a3e 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/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<SDValue, SDValue> 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. |