mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 18:26:02 +00:00
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -578,12 +578,12 @@ static int computeMaxPressureDelta(ArrayRef<unsigned> OldPressureVec,
|
||||
unsigned Limit = TRI->getRegPressureSetLimit(i);
|
||||
if (Limit > POld) {
|
||||
if (Limit > PNew)
|
||||
PDiff = 0; // Under the limit
|
||||
PDiff = 0; // Under the limit
|
||||
else
|
||||
PDiff = PNew - Limit; // Just exceeded limit.
|
||||
}
|
||||
else if (Limit > PNew)
|
||||
PDiff = Limit - POld; // Just obeyed limit.
|
||||
PDiff = Limit - POld; // Just obeyed limit.
|
||||
|
||||
if (std::abs(PDiff) > std::abs(ExcessUnits)) {
|
||||
ExcessUnits = PDiff;
|
||||
|
@@ -218,6 +218,7 @@ public:
|
||||
void getMaxPressureDelta(const MachineInstr *MI, RegPressureDelta &Delta) {
|
||||
if (isTopClosed())
|
||||
return getMaxDownwardPressureDelta(MI, Delta);
|
||||
|
||||
assert(isBottomClosed() && "Uninitialized pressure tracker");
|
||||
return getMaxUpwardPressureDelta(MI, Delta);
|
||||
}
|
||||
|
Reference in New Issue
Block a user