summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2011-01-18 00:51:23 +0000
committerJeffrey Yasskin <jyasskin@google.com>2011-01-18 00:51:23 +0000
commit249fcd4499689545d1986172b00cb1a1b2d45648 (patch)
tree3e703eb0c560a437fe4d9143f0dcc82afba1a810 /llvm/lib/CodeGen
parent4fa832aab08d325a3185009177e0585382bea35f (diff)
downloadbcm5719-llvm-249fcd4499689545d1986172b00cb1a1b2d45648.tar.gz
bcm5719-llvm-249fcd4499689545d1986172b00cb1a1b2d45648.zip
Remove unused variables found by gcc-4.6's -Wunused-but-set-variable.
llvm-svn: 123707
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index 2969eff04f7..0c813834bf1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -1030,7 +1030,6 @@ void DAGTypeLegalizer::ExpandIntegerResult(SDNode *N, unsigned ResNo) {
case ISD::ATOMIC_LOAD_UMIN:
case ISD::ATOMIC_LOAD_UMAX:
case ISD::ATOMIC_SWAP: {
- SDValue Ch = N->getOperand(0);
std::pair<SDValue, SDValue> Tmp = ExpandAtomic(N);
SplitInteger(Tmp.first, Lo, Hi);
ReplaceValueWith(SDValue(N, 1), Tmp.second);
OpenPOWER on IntegriCloud