diff options
author | Duncan Sands <baldrick@free.fr> | 2010-06-25 14:48:39 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-06-25 14:48:39 +0000 |
commit | b447c4e65b5f6d39db16cb8fc338133965291972 (patch) | |
tree | 942ab031d60d2f80cb0bf96c7aaf0a07e897213e /lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 7262c19c41fd291af7a23a6bb8558314ef8425dd (diff) |
Remove variables which are assigned to but for which the value
is not used. Spotted by gcc-4.6.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index a72415f953..d817c48433 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -6108,7 +6108,6 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) { // Check if the result type doesn't match the inserted element type. A // SCALAR_TO_VECTOR may truncate the inserted element and the // EXTRACT_VECTOR_ELT may widen the extracted vector. - EVT EltVT = InVec.getValueType().getVectorElementType(); SDValue InOp = InVec.getOperand(0); EVT NVT = N->getValueType(0); if (InOp.getValueType() != NVT) { |