From 7c1598caaa385ce09b187dac446596d163a58311 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 17 Jul 2012 17:00:11 +0000 Subject: Remove unused variable. llvm-svn: 160372 --- llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen') 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"); -- cgit v1.2.3