summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-10-06 18:11:50 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-10-06 18:11:50 +0000
commitec0da969fb5dbdb6de13e90e0b31c12c12cf51e2 (patch)
treecbc6fff4af9e55e3cf12d8742c5dfc15180c33d0 /llvm/lib
parentcf4f56c4cbf1e32812830796657a765e796f32fd (diff)
downloadbcm5719-llvm-ec0da969fb5dbdb6de13e90e0b31c12c12cf51e2.tar.gz
bcm5719-llvm-ec0da969fb5dbdb6de13e90e0b31c12c12cf51e2.zip
Remove unused variables.
llvm-svn: 115802
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAGInstrs.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
index e01f0ab1ce1..bf68c0eeb90 100644
--- a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -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;
OpenPOWER on IntegriCloud