summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterPressure.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-05-17 18:35:00 +0000
committerAndrew Trick <atrick@apple.com>2012-05-17 18:35:00 +0000
commit24617213ba8e9d1e0f10af33d88285a92304ab95 (patch)
treef1f19f9aeb9a5b600098517b4237136952710c45 /lib/CodeGen/RegisterPressure.cpp
parent94e58f3a7c50e14819d411db3b6df10bbd35cb5e (diff)
downloadllvm-24617213ba8e9d1e0f10af33d88285a92304ab95.tar.gz
llvm-24617213ba8e9d1e0f10af33d88285a92304ab95.tar.bz2
llvm-24617213ba8e9d1e0f10af33d88285a92304ab95.tar.xz
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterPressure.cpp')
-rw-r--r--lib/CodeGen/RegisterPressure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegisterPressure.cpp b/lib/CodeGen/RegisterPressure.cpp
index 7b86899b17..53036c7b84 100644
--- a/lib/CodeGen/RegisterPressure.cpp
+++ b/lib/CodeGen/RegisterPressure.cpp
@@ -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;