OSDN Git Service

Remove unused variables.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 6 Oct 2010 18:11:50 +0000 (18:11 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 6 Oct 2010 18:11:50 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115802 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ScheduleDAGInstrs.cpp

index e01f0ab..bf68c0e 100644 (file)
@@ -527,9 +527,6 @@ void ScheduleDAGInstrs::ComputeOperandLatency(SUnit *Def, SUnit *Use,
   MachineInstr *DefMI = Def->getInstr();
   int DefIdx = DefMI->findRegisterDefOperandIdx(Reg);
   if (DefIdx != -1) {
-    const TargetInstrDesc &DefTID = DefMI->getDesc();
-    unsigned DefClass = DefTID.getSchedClass();
-
     MachineInstr *UseMI = Use->getInstr();
     // For all uses of the register, calculate the maxmimum latency
     int Latency = -1;