[llvm] r173812 - Remove dead code.
Evan Cheng
evan.cheng at apple.com
Tue Jan 29 10:08:22 PST 2013
Author: evancheng
Date: Tue Jan 29 12:08:22 2013
New Revision: 173812
URL: http://llvm.org/viewvc/llvm-project?rev=173812&view=rev
Log:
Remove dead code.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=173812&r1=173811&r2=173812&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Jan 29 12:08:22 2013
@@ -12067,17 +12067,7 @@ SDValue X86TargetLowering::LowerFSINCOS(
/*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.
More information about the llvm-commits
mailing list