summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InterferenceCache.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-25 23:58:36 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-25 23:58:36 +0000
commit25d5745cc5db8ce0da4ed5e3b20587800ae15b65 (patch)
tree1f3347c82e8ca13a3a6cead846df8006c37d919c /llvm/lib/CodeGen/InterferenceCache.h
parent4c5d2888f46788f1970994e7607de33ca8c03a0e (diff)
downloadbcm5719-llvm-25d5745cc5db8ce0da4ed5e3b20587800ae15b65.tar.gz
bcm5719-llvm-25d5745cc5db8ce0da4ed5e3b20587800ae15b65.zip
Add a RAGreedy::canEvict function.
This doesn't change functionality (much), but it allows for a more fine-grained eviction policy. The current policy only compares spill weights, and that is not always the best thing to do. Spill weights are designed to serve linear scan, and they don't consider live range splitting. Add a mechanism so canEvict() can request that a live range be evicted and split/spilled. This is to avoid infinite eviction loops. llvm-svn: 132101
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud