Revert 77974. It breaks 3 of the ARM tests.
authorBob Wilson <bob.wilson@apple.com>
Mon, 3 Aug 2009 19:06:29 +0000 (19:06 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 3 Aug 2009 19:06:29 +0000 (19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77982 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

index a4f3b1eb965befbd0f35a0b170bc228d2235dc4c..5957e3a503bb5ea1c159a0c3006d0aa9b47a2bf6 100644 (file)
@@ -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