diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-23 03:41:57 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-23 03:41:57 +0000 |
commit | 87972fa63f0e2631778166e0c258c456ec12db7c (patch) | |
tree | c7ae4a84624ed9f6fc4b679fa2aa31d6dec4d1ee /lib/Support/ConstantRange.cpp | |
parent | fe9b2d142a0feb87b06579509479957f25d7d0a4 (diff) |
Add RAGreedy::calcCompactRegion.
This method computes the edge bundles that should be live when splitting
around a compact region. This is independent of interference.
The function returns false if the live range was already a compact
region, or the compact region doesn't have any live bundles - it would
be the same as splitting around basic blocks.
Compact regions are computed using the normal spill placement code. We
pretend there is interference in all live-through blocks that don't use
the live range. This removes all edges from the Hopfield network used
for spill placement, so it converges instantly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions