[llvm-commits] [llvm] r142206 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Chad Rosier mcrosier at apple.com
Mon Oct 17 11:01:59 PDT 2011


Author: mcrosier
Date: Mon Oct 17 13:01:59 2011
New Revision: 142206

URL: http://llvm.org/viewvc/llvm-project?rev=142206&view=rev
Log:
Removed set, but unused variable.

Patch by Joe Abbey <jabbey at arxan.com>.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp?rev=142206&r1=142205&r2=142206&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp Mon Oct 17 13:01:59 2011
@@ -350,7 +350,6 @@
 
   // 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))





More information about the llvm-commits mailing list