Don't abuse the quirky behavior of LegalizeDAG for XINT_TO_FP and
[oota-llvm.git] / lib / Target / CellSPU / SPUISelLowering.cpp
index cef87e9a498d175fdf6b8e8c022ad82fb04a748f..864a914bba78e3bdca408e2a43e7ab7d9cf5e5f7 100644 (file)
@@ -2304,7 +2304,7 @@ static SDValue LowerFP_TO_INT(SDValue Op, SelectionDAG &DAG,
     return ExpandLibCall(LC, Op, DAG, false, Dummy, TLI);
   }
 
-  return SDValue();
+  return Op;
 }
 
 //! Lower ISD::SINT_TO_FP, ISD::UINT_TO_FP for i32
@@ -2330,7 +2330,7 @@ static SDValue LowerINT_TO_FP(SDValue Op, SelectionDAG &DAG,
     return ExpandLibCall(LC, Op, DAG, false, Dummy, TLI);
   }
 
-  return SDValue();
+  return Op;
 }
 
 //! Lower ISD::SETCC