forked from OSchip/llvm-project
MI Sched: fix a typo in RegPressure heuristics.
llvm-svn: 184131
This commit is contained in:
parent
7e63046ce9
commit
d31db4b45d
|
@ -599,7 +599,7 @@ static void computeMaxPressureDelta(ArrayRef<unsigned> OldMaxPressureVec,
|
|||
int MDiff = (int)PNew - (int)MaxPressureLimit[i];
|
||||
if (MDiff > Delta.CurrentMax.UnitIncrease) {
|
||||
Delta.CurrentMax.PSetID = i;
|
||||
Delta.CurrentMax.UnitIncrease = PNew;
|
||||
Delta.CurrentMax.UnitIncrease = MDiff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue