[llvm-commits] [llvm] r77982 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

Bob Wilson bob.wilson at apple.com
Mon Aug 3 12:07:00 PDT 2009


Author: bwilson
Date: Mon Aug  3 14:06:29 2009
New Revision: 77982

URL: http://llvm.org/viewvc/llvm-project?rev=77982&view=rev
Log:
Revert 77974.  It breaks 3 of the ARM tests.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp?rev=77982&r1=77981&r2=77982&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp Mon Aug  3 14:06:29 2009
@@ -47,10 +47,6 @@
         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 @@
         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





More information about the llvm-commits mailing list