Removed set, but unused variable.
authorChad Rosier <mcrosier@apple.com>
Mon, 17 Oct 2011 18:01:59 +0000 (18:01 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 17 Oct 2011 18:01:59 +0000 (18:01 +0000)
Patch by Joe Abbey <jabbey@arxan.com>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142206 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

index ca67c22f50a1ae36c386ea3011739ddb92e344fc..f1a862751873728aa3a0790541c4e5bdcccb0fe6 100644 (file)
@@ -350,7 +350,6 @@ SDValue VectorLegalizer::ExpandStore(SDValue Op) {
 
   // Cast floats into integers
   unsigned ScalarSize = MemSclVT.getSizeInBits();
-  EVT EltVT = EVT::getIntegerVT(*DAG.getContext(), ScalarSize);
 
   // Round odd types to the next pow of two.
   if (!isPowerOf2_32(ScalarSize))