projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e041a30
)
Remove an unused variable.
author
Chandler Carruth
<chandlerc@gmail.com>
Thu, 5 Jan 2012 11:25:47 +0000
(11:25 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Thu, 5 Jan 2012 11:25:47 +0000
(11:25 +0000)
llvm-svn: 147605
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
index
71894bd
..
b02f3b6
100644
(file)
--- a/
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
@@
-267,7
+267,6
@@
void ScheduleDAGInstrs::BuildSchedGraph(AliasAnalysis *AA) {
// TODO: Using a latency of 1 here for output dependencies assumes
// there's no cost for reusing registers.
SDep::Kind Kind = MO.isUse() ? SDep::Anti : SDep::Output;
- unsigned AOLatency = (Kind == SDep::Anti) ? 0 : 1;
for (const unsigned *Alias = TRI->getOverlaps(Reg); *Alias; ++Alias) {
std::vector<SUnit *> &DefList = Defs[*Alias];
for (unsigned i = 0, e = DefList.size(); i != e; ++i) {