OSDN Git Service

Remove unused variable.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Jul 2012 17:00:11 +0000 (17:00 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Jul 2012 17:00:11 +0000 (17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160372 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

index af90e1d..22a0350 100644 (file)
@@ -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");