OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8faa6af
)
Remove unused variables.
author
Nick Lewycky
<nicholas@mxc.ca>
Wed, 6 Oct 2010 18:11:50 +0000
(18:11 +0000)
committer
Nick 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index
e01f0ab
..
bf68c0e
100644
(file)
--- a/
lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/
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;