Fix typo compounded by a cut-and-pasto.
authorDuncan Sands <baldrick@free.fr>
Wed, 2 Jul 2008 10:03:53 +0000 (10:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 2 Jul 2008 10:03:53 +0000 (10:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53012 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

index 2a88166664ee0540a067d1a01c43874723a4274f..b2580f5fa70e8e59ac1892b83de0f339efd64d8e 100644 (file)
@@ -335,8 +335,8 @@ bool DAGTypeLegalizer::SoftenFloatOperand(SDNode *N, unsigned OpNo) {
     case ISD::BIT_CONVERT: Res = SoftenFloatOp_BIT_CONVERT(N); break;
 
     case ISD::BR_CC:     Res = SoftenFloatOp_BR_CC(N); break;
-    case ISD::SELECT_CC: Res = SoftenFloatOp_BR_CC(N); break;
-    case ISD::SETCC:     Res = SoftenFloatOp_BR_CC(N); break;
+    case ISD::SELECT_CC: Res = SoftenFloatOp_SELECT_CC(N); break;
+    case ISD::SETCC:     Res = SoftenFloatOp_SETCC(N); break;
     }
   }
 
@@ -759,8 +759,8 @@ bool DAGTypeLegalizer::ExpandFloatOperand(SDNode *N, unsigned OpNo) {
     case ISD::EXTRACT_ELEMENT: Res = ExpandOp_EXTRACT_ELEMENT(N); break;
 
     case ISD::BR_CC:     Res = ExpandFloatOp_BR_CC(N); break;
-    case ISD::SELECT_CC: Res = ExpandFloatOp_BR_CC(N); break;
-    case ISD::SETCC:     Res = ExpandFloatOp_BR_CC(N); break;
+    case ISD::SELECT_CC: Res = ExpandFloatOp_SELECT_CC(N); break;
+    case ISD::SETCC:     Res = ExpandFloatOp_SETCC(N); break;
 
     case ISD::FP_ROUND:   Res = ExpandFloatOp_FP_ROUND(N); break;
     case ISD::FP_TO_SINT: Res = ExpandFloatOp_FP_TO_SINT(N); break;