summary refs log tree commit diff
path: root/fold.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-11-20 22:14:41 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2022-11-20 22:14:41 +0100
commit674901b71834739cccf3f8665833dc125d1172b7 (patch)
tree34da28ca9697819d5250d45deaea631007165de0 /fold.c
parentf5007126f3140a8c932d393c5b217308b80bd46a (diff)
downloadroux-674901b71834739cccf3f8665833dc125d1172b7.tar.gz
new slot coalescing pass
This pass limits stack usage when
many small aggregates are allocated
on the stack. A fast liveness
analysis figures out which slots
interfere and the pass then fuses
slots that do not interfere. The
pass also kills stack slots that
are only ever assigned.

On the hare stdlib test suite, this
fusion pass managed to reduce the
total eligible slot bytes count
by 84%.

The slots considered for fusion
must not escape and not exceed
64 bytes in size.
Diffstat (limited to 'fold.c')
0 files changed, 0 insertions, 0 deletions