[llvm-commits] [llvm] r68242 - /llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp

Bill Wendling isanbard at gmail.com
Wed Apr 1 13:39:03 PDT 2009


Author: void
Date: Wed Apr  1 15:38:51 2009
New Revision: 68242

URL: http://llvm.org/viewvc/llvm-project?rev=68242&view=rev
Log:
Remove dead local variables.

Modified:
    llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp

Modified: llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp?rev=68242&r1=68241&r2=68242&view=diff

==============================================================================
--- llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp (original)
+++ llvm/branches/Apple/Dib/lib/CodeGen/Spiller.cpp Wed Apr  1 15:38:51 2009
@@ -218,7 +218,6 @@
 static void UpdateKills(MachineInstr &MI, BitVector &RegKills,
                         std::vector<MachineOperand*> &KillOps,
                         const TargetRegisterInfo* TRI) {
-  const TargetInstrDesc &TID = MI.getDesc();
   for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) {
     MachineOperand &MO = MI.getOperand(i);
     if (!MO.isReg() || !MO.isUse())
@@ -881,7 +880,6 @@
   }
 
   if (LastUDMI) {
-    const TargetInstrDesc &TID = LastUDMI->getDesc();
     MachineOperand *LastUD = NULL;
     for (unsigned i = 0, e = LastUDMI->getNumOperands(); i != e; ++i) {
       MachineOperand &MO = LastUDMI->getOperand(i);
@@ -944,7 +942,6 @@
       NextMII = next(MII);
 
     MachineInstr &MI = *MII;
-    const TargetInstrDesc &TID = MI.getDesc();
 
     if (VRM.hasEmergencySpills(&MI)) {
       // Spill physical register(s) in the rare case the allocator has run out





More information about the llvm-commits mailing list