summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 18:04:28 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 18:04:28 +0000
commitda076e41ab663c5924acc8354bf2e6d4ff77d041 (patch)
tree6e3864caea6f14e3b834573bb3db9fb1060f253c /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentfe211deedf8cbe6de4b8eed71ee8394a8289b5e4 (diff)
downloadbcm5719-llvm-da076e41ab663c5924acc8354bf2e6d4ff77d041.tar.gz
bcm5719-llvm-da076e41ab663c5924acc8354bf2e6d4ff77d041.zip
remove dead vars
llvm-svn: 28254
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 712a03069f3..cf1d41f705f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1539,7 +1539,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
// Perform various simplifications.
ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.Val);
ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.Val);
- ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(N3.Val);
+ //ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(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<ConstantSDNode>(Ops[1].Val);
switch (Opcode) {
default: break;
case ISD::TRUNCSTORE: {
OpenPOWER on IntegriCloud