diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-17 15:30:32 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-17 15:30:32 +0000 |
commit | 548643c573d53950e28e9e810cd0454ba9a21af0 (patch) | |
tree | b77e5e91b4ff5892bb4326b2cecc14d41d879303 /lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | bae5210321e0c3ea28723334841555135a61e915 (diff) |
Extract spill cost calculation to a new method, and use definePhysReg() to clear
out aliases when allocating. Clean up allocVirtReg().
Use calcSpillCost() to allow more aggressive hinting. Now the hint is always
taken unless blocked by a reserved register. This leads to more coalescing,
lower register pressure, and less spilling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions