silence a bogus GCC warning
authorChris Lattner <sabre@nondot.org>
Thu, 6 Oct 2005 17:39:10 +0000 (17:39 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 Oct 2005 17:39:10 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23646 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 55f6a2e4e72fc746c211110b9ea74335ae8084ca..0e071b18cad2cbadbccbcc791588ae06562e041d 100644 (file)
@@ -2455,7 +2455,7 @@ ExpandByParts(unsigned NodeOp, SDOperand LHS, SDOperand RHS,
   // FIXME: this should be moved to the dag combiner someday.
   assert(NodeOp == ISD::ADD_PARTS || NodeOp == ISD::SUB_PARTS);
   if (LHSL.getValueType() == MVT::i32) {
-    SDOperand LowEl;
+    SDOperand LowEl = SDOperand(0,0);
     if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(LHSL))
       if (C->getValue() == 0)
         LowEl = RHSL;