mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
MI Sched: fix a typo in RegPressure heuristics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07023fef3a
commit
e0f6046241
@ -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
Block a user