Silence a compiler warning.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 Sep 2007 07:35:39 +0000 (07:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 Sep 2007 07:35:39 +0000 (07:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42389 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index b5c160a1a77df1af00de132e302b01b554f3b198..509e2252f6f16f25a432e99057f1e1db0ced43cb 100644 (file)
@@ -5743,7 +5743,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
   case ISD::UINT_TO_FP: {
     bool isSigned = Node->getOpcode() == ISD::SINT_TO_FP;
     MVT::ValueType SrcVT = Node->getOperand(0).getValueType();
-    RTLIB::Libcall LC;
+    RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
     if (Node->getOperand(0).getValueType() == MVT::i64) {
       if (VT == MVT::f32)
         LC = isSigned ? RTLIB::SINTTOFP_I64_F32 : RTLIB::UINTTOFP_I64_F32;