From: Chris Lattner Date: Fri, 12 May 2006 18:04:28 +0000 (+0000) Subject: remove dead vars X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f1343c1b7929930c276939ac571cfbfadc283c4e;p=oota-llvm.git remove dead vars git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28254 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 712a03069f3..cf1d41f705f 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1539,7 +1539,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, // Perform various simplifications. ConstantSDNode *N1C = dyn_cast(N1.Val); ConstantSDNode *N2C = dyn_cast(N2.Val); - ConstantSDNode *N3C = dyn_cast(N3.Val); + //ConstantSDNode *N3C = dyn_cast(N3.Val); switch (Opcode) { case ISD::SETCC: { // Use SimplifySetCC to simplify SETCC's. @@ -1696,7 +1696,6 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, default: break; } - ConstantSDNode *N1C = dyn_cast(Ops[1].Val); switch (Opcode) { default: break; case ISD::TRUNCSTORE: {