summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
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
commitf1343c1b7929930c276939ac571cfbfadc283c4e (patch)
treecc37f5a9d5c441313c91d50004fb22f39ae5b98b /lib/CodeGen/SelectionDAG
parentc485e55c651fe6240e118e42bdf98effb6d06584 (diff)
downloadllvm-f1343c1b7929930c276939ac571cfbfadc283c4e.tar.gz
llvm-f1343c1b7929930c276939ac571cfbfadc283c4e.tar.bz2
llvm-f1343c1b7929930c276939ac571cfbfadc283c4e.tar.xz
remove dead vars
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 712a03069f..cf1d41f705 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<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: {