MI Sched: fix a typo in RegPressure heuristics.

llvm-svn: 184131
This commit is contained in:
Andrew Trick 2013-06-17 21:45:09 +00:00
parent 7e63046ce9
commit d31db4b45d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}