whitespace
authorAndrew Trick <atrick@apple.com>
Thu, 17 May 2012 18:35:00 +0000 (18:35 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 17 May 2012 18:35:00 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157002 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegisterPressure.cpp
lib/CodeGen/RegisterPressure.h

index 7b86899b17a0d300ed81f80258d0e897ae9aa3ae..53036c7b84d95cff8277927b7f16a84f6ffbb732 100644 (file)
@@ -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;
index e4a27176b4a3b9e7ad54dcb603400a60833e2132..b1d13784018495ba2324b8d553d67f7562f78ddc 100644 (file)
@@ -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);
   }