From cf5c79b34fcffdf7f0de72bc693ddcd3e2ec47a6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 6 Oct 2005 17:39:10 +0000 Subject: [PATCH] silence a bogus GCC warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23646 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 55f6a2e4e72..0e071b18cad 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -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(LHSL)) if (C->getValue() == 0) LowEl = RHSL;