diff options
| author | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
| commit | 2fbeaf084ffe6467004d2a340336407c254f623f (patch) | |
| tree | b1689f01b10a49e9167d74b16da8d1aea0484196 /llvm/lib/CodeGen/SelectionDAG | |
| parent | 109e762a5752e7a6bcee526bdbb6bbf1978152a7 (diff) | |
| download | bcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.tar.gz bcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.zip | |
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar.
llvm-svn: 81106
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 749170fb148..58f931234e1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -4481,7 +4481,6 @@ SDValue DAGCombiner::visitBRCOND(SDNode *N) { if (Op0.getOpcode() == ISD::AND && Op0.hasOneUse() && Op1.getOpcode() == ISD::Constant) { - SDValue AndOp0 = Op0.getOperand(0); SDValue AndOp1 = Op0.getOperand(1); if (AndOp1.getOpcode() == ISD::Constant) { @@ -5405,7 +5404,6 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) { SDValue DAGCombiner::visitBUILD_VECTOR(SDNode *N) { unsigned NumInScalars = N->getNumOperands(); EVT VT = N->getValueType(0); - EVT EltType = VT.getVectorElementType(); // Check to see if this is a BUILD_VECTOR of a bunch of EXTRACT_VECTOR_ELT // operations. If so, and if the EXTRACT_VECTOR_ELT vector inputs come from @@ -5506,7 +5504,6 @@ SDValue DAGCombiner::visitVECTOR_SHUFFLE(SDNode *N) { unsigned NumElts = VT.getVectorNumElements(); SDValue N0 = N->getOperand(0); - SDValue N1 = N->getOperand(1); assert(N0.getValueType().getVectorNumElements() == NumElts && "Vector shuffle must be normalized in DAG"); |

