summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 17:57:54 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 17:57:54 +0000
commitafe72481f672699dde16dbcd0bc2f51badc3e894 (patch)
treeb1cda5bc7970af8f863ee0598a2058a0ab17fd3b /llvm/lib/CodeGen/SelectionDAG
parent69fb37885898a35a32d3a054e61e2d236f834d7e (diff)
downloadbcm5719-llvm-afe72481f672699dde16dbcd0bc2f51badc3e894.tar.gz
bcm5719-llvm-afe72481f672699dde16dbcd0bc2f51badc3e894.zip
Comment out dead variables
llvm-svn: 28252
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 0aaee2f0432..508866d806e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud