aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/15-reloc.c
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2026-03-16 18:15:37 +0100
committer lemon<lsof@mailbox.org>2026-03-16 18:15:37 +0100
commit28261b6b1b55184ce7084eb14cdcb42edc7f8480 (patch)
tree14843ed375949f42afce9501bff66c0ef398641d /test/15-reloc.c
parent3e83c4280f0b1d72774c522a7e0d135913151b56 (diff)
regalloc: improve spilling and cleanup
Instead of spilling current interval when running out of registers, spill the longest-lived active interval with a lower spill cost than current. Spill costs are estimated based on multiplicative loop depth. Also cleanup regalloc.c somewhat. Update todo.txt too.
Diffstat (limited to 'test/15-reloc.c')
0 files changed, 0 insertions, 0 deletions