summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterPressure.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-09 09:49:29 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-09 09:49:29 +0000
commitcc719cf87f311dcd7c10b17d653bdc41f10264ca (patch)
treec2f4d3bcde59a6bfaaef809e330cbaae756a3fdf /lib/CodeGen/RegisterPressure.cpp
parenta01427c15a61e25225ab6000686d27ea3462b7e6 (diff)
downloadllvm-cc719cf87f311dcd7c10b17d653bdc41f10264ca.tar.gz
llvm-cc719cf87f311dcd7c10b17d653bdc41f10264ca.tar.bz2
llvm-cc719cf87f311dcd7c10b17d653bdc41f10264ca.tar.xz
Fix formatting introduced in r200941
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterPressure.cpp')
-rw-r--r--lib/CodeGen/RegisterPressure.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/RegisterPressure.cpp b/lib/CodeGen/RegisterPressure.cpp
index 249789a4b1..cfeafbf403 100644
--- a/lib/CodeGen/RegisterPressure.cpp
+++ b/lib/CodeGen/RegisterPressure.cpp
@@ -512,8 +512,7 @@ bool RegPressureTracker::recede(SmallVectorImpl<unsigned> *LiveUses,
// live-out, increase its PDiff value to avoid underflowing pressure.
if (PDiff)
PDiff->addPressureChange(Reg, false, MRI);
- }
- else {
+ } else {
if (LiveRegs.erase(Reg))
decreaseRegPressure(Reg);
else