From 5f6f72605bd1295080dd49f65cc68768db4737ae Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Mon, 3 Aug 2009 19:06:29 +0000 Subject: [PATCH] Revert 77974. It breaks 3 of the ARM tests. llvm-svn: 77982 --- llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp index a4f3b1eb965b..5957e3a503bb 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp @@ -47,10 +47,6 @@ void DAGTypeLegalizer::SoftenFloatResult(SDNode *N, unsigned ResNo) { errs() << "\n"); SDValue R = SDValue(); - // See if the target wants to custom handle softening this result. - if (CustomLowerNode(N, N->getValueType(ResNo), true)) - return; - switch (N->getOpcode()) { default: #ifndef NDEBUG @@ -539,10 +535,6 @@ bool DAGTypeLegalizer::SoftenFloatOperand(SDNode *N, unsigned OpNo) { errs() << "\n"); SDValue Res = SDValue(); - // See if target wants to custom handle softening this operand. - if (CustomLowerNode(N, N->getOperand(OpNo).getValueType(), false)) - return false; - switch (N->getOpcode()) { default: #ifndef NDEBUG