[llvm-commits] [llvm] r156456 - /llvm/trunk/lib/Target/TargetRegisterInfo.cpp

Richard Trieu rtrieu at google.com
Tue May 8 17:30:21 PDT 2012


Author: rtrieu
Date: Tue May  8 19:30:21 2012
New Revision: 156456

URL: http://llvm.org/viewvc/llvm-project?rev=156456&view=rev
Log:
Remove unused variable to silence compiler warning.

Modified:
    llvm/trunk/lib/Target/TargetRegisterInfo.cpp

Modified: llvm/trunk/lib/Target/TargetRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetRegisterInfo.cpp?rev=156456&r1=156455&r2=156456&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetRegisterInfo.cpp Tue May  8 19:30:21 2012
@@ -154,7 +154,6 @@
   assert(Idx && "Bad sub-register index");
 
   // Find Idx in the list of super-register indices.
-  const uint32_t *Mask = 0;
   for (SuperRegClassIterator RCI(B, this); RCI.isValid(); ++RCI)
     if (RCI.getSubReg() == Idx)
       // The bit mask contains all register classes that are projected into B





More information about the llvm-commits mailing list