diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-12 17:57:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-12 17:57:54 +0000 |
commit | 5eed34d208159e02949097ec91d98d5d9eb30e27 (patch) | |
tree | 7d7e3b5739c4ae844906f9f7c00383668e009553 /lib/CodeGen/SelectionDAG | |
parent | ffb4d62720f491614801668acda2f89a4f878d98 (diff) | |
download | llvm-5eed34d208159e02949097ec91d98d5d9eb30e27.tar.gz llvm-5eed34d208159e02949097ec91d98d5d9eb30e27.tar.bz2 llvm-5eed34d208159e02949097ec91d98d5d9eb30e27.tar.xz |
Comment out dead variables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 0aaee2f043..508866d806 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -1775,7 +1775,7 @@ SDOperand DAGCombiner::visitSELECT_CC(SDNode *N) { // Determine if the condition we're dealing with is constant SDOperand SCC = SimplifySetCC(TLI.getSetCCResultTy(), N0, N1, CC, false); - ConstantSDNode *SCCC = dyn_cast_or_null<ConstantSDNode>(SCC.Val); + //ConstantSDNode *SCCC = dyn_cast_or_null<ConstantSDNode>(SCC.Val); // fold select_cc lhs, rhs, x, x, cc -> x if (N2 == N3) @@ -3055,7 +3055,7 @@ SDOperand DAGCombiner::SimplifySelectCC(SDOperand N0, SDOperand N1, ISD::CondCode CC) { MVT::ValueType VT = N2.getValueType(); - ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.Val); + //ConstantSDNode *N0C = dyn_cast<ConstantSDNode>(N0.Val); ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1.Val); ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.Val); ConstantSDNode *N3C = dyn_cast<ConstantSDNode>(N3.Val); |