sway icon indicating copy to clipboard operation
sway copied to clipboard

Register allocator improvements, including a spiller

Open vaivaswatha opened this issue 2 years ago • 2 comments

Description

This PR includes a spiller for the register allocator and other changes to the algorithm itself.

Fixes #3429, #2657 #4631, #4511.

vaivaswatha avatar Jun 30 '23 09:06 vaivaswatha

This is ready for review now. I'm going open new Issue(s) for further related improvements.

vaivaswatha avatar Jul 05 '23 03:07 vaivaswatha

A few nitpicks, but LGTM

IGI-111 avatar Jul 06 '23 00:07 IGI-111

@vaivaswatha seems like one of the tests might be flaky ...

Failing tests:
    should_pass/unit_tests/regalloc_spill ... failed

I updated Forc.lock for that test and it works now.

vaivaswatha avatar Jul 07 '23 02:07 vaivaswatha