mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Oops. Last second clean up messed things up.
llvm-svn: 64373
This commit is contained in:
parent
04558ecc90
commit
521b8b5ef3
@ -1074,9 +1074,10 @@ static unsigned closestSucc(const SUnit *SU) {
|
||||
static unsigned calcMaxScratches(const SUnit *SU) {
|
||||
unsigned Scratches = 0;
|
||||
for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end();
|
||||
I != E; ++I)
|
||||
I != E; ++I) {
|
||||
if (I->isCtrl()) continue; // ignore chain preds
|
||||
Scratches++;
|
||||
Scratches++;
|
||||
}
|
||||
return Scratches;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user