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 | ecad62f909c5da40682990a7accef19ee2eaefb3 (patch) | |
tree | e0ecfdbf8d56fed8cd4426d1ce8f4a1e542ebaa0 /clang/lib/Basic/FileManager.cpp | |
parent | f500ccece7854cf4a27cc46efde4ff56dbcd325d (diff) | |
download | bcm5719-llvm-ecad62f909c5da40682990a7accef19ee2eaefb3.tar.gz bcm5719-llvm-ecad62f909c5da40682990a7accef19ee2eaefb3.zip |
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.
llvm-svn: 135847
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions