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:
ffb6168
)
MISched: cleanup, use the proper iterator type.
author
Andrew Trick
<atrick@apple.com>
Tue, 18 Dec 2012 20:52:52 +0000
(20:52 +0000)
committer
Andrew Trick
<atrick@apple.com>
Tue, 18 Dec 2012 20:52:52 +0000
(20:52 +0000)
llvm-svn: 170450
llvm/lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/MachineScheduler.cpp
b/llvm/lib/CodeGen/MachineScheduler.cpp
index
d49eda2
..
fbbae38
100644
(file)
--- a/
llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/
llvm/lib/CodeGen/MachineScheduler.cpp
@@
-1213,7
+1213,7
@@
void ConvergingScheduler::releaseTopNode(SUnit *SU) {
if (SU->isScheduled)
return;
- for (SUnit::
succ
_iterator I = SU->Preds.begin(), E = SU->Preds.end();
+ for (SUnit::
pred
_iterator I = SU->Preds.begin(), E = SU->Preds.end();
I != E; ++I) {
unsigned PredReadyCycle = I->getSUnit()->TopReadyCycle;
unsigned MinLatency = I->getMinLatency();