commit | 548643c573d53950e28e9e810cd0454ba9a21af0 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon May 17 15:30:32 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon May 17 15:30:32 2010 +0000 |
tree | b77e5e91b4ff5892bb4326b2cecc14d41d879303 | |
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