diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-09 01:14:03 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-09 01:14:03 +0000 |
commit | 2710638db2eb84cd7eefb8bb9a1b7e5c49413d45 (patch) | |
tree | 94eb0449093393b76f1a8f12079c8640c8456f97 /tools/llvm-ld/llvm-ld.cpp | |
parent | c3dca3f9d4a049102fa985aedbc65e53f4cf6c0d (diff) |
Evict a lighter single interference before attempting to split a live range.
Registers are not allocated strictly in spill weight order when live range
splitting and spilling has created new shorter intervals with higher spill
weights.
When one of the new heavy intervals conflicts with a single lighter interval,
simply evict the old interval instead of trying to split the heavy one.
The lighter interval is a better candidate for splitting, it has a smaller use
density.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld/llvm-ld.cpp')
0 files changed, 0 insertions, 0 deletions