mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
MISched: cleanup, use the proper iterator type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
071966f6bf
commit
d453960f92
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user