Remove pointless variable LastDef.
authorDuncan Sands <baldrick@free.fr>
Tue, 29 Jun 2010 13:23:22 +0000 (13:23 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 29 Jun 2010 13:23:22 +0000 (13:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107135 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Thumb2ITBlockPass.cpp

index e468c07..0faf509 100644 (file)
@@ -141,7 +141,6 @@ void Thumb2ITBlockPass::FindITBlockRanges(MachineBasicBlock &MBB,
                                        SmallVector<MachineInstr*,4> &FirstUses,
                                        SmallVector<MachineInstr*,4> &LastUses) {
   bool SeenUse = false;
-  MachineOperand *LastDef = 0;
   MachineOperand *LastUse = 0;
   MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
   while (MBBI != E) {
@@ -175,7 +174,6 @@ void Thumb2ITBlockPass::FindITBlockRanges(MachineBasicBlock &MBB,
         LastUses.push_back(LastUse->getParent());
         LastUse = 0;
       }
-      LastDef = Def;
       SeenUse = false;
     }
   }