summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-07-17 17:00:11 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-07-17 17:00:11 +0000
commit7c1598caaa385ce09b187dac446596d163a58311 (patch)
treee537c9008691cf849bd1cfe8ad4022c2c8a84a7a /llvm/lib/CodeGen
parentf33f0bbdcf31d8bceb65786565acfabc3eeef40b (diff)
downloadbcm5719-llvm-7c1598caaa385ce09b187dac446596d163a58311.tar.gz
bcm5719-llvm-7c1598caaa385ce09b187dac446596d163a58311.zip
Remove unused variable.
llvm-svn: 160372
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 af90e1d26d5..22a03503e9d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -588,7 +588,6 @@ SDValue DAGTypeLegalizer::PromoteIntRes_TRUNCATE(SDNode *N) {
unsigned NumElts = InVT.getVectorNumElements();
assert(NumElts == NVT.getVectorNumElements() &&
"Dst and Src must have the same number of elements");
- EVT EltVT = InVT.getScalarType();
assert(isPowerOf2_32(NumElts) &&
"Promoted vector type must be a power of two");
OpenPOWER on IntegriCloud