Stream: cranelift

Topic: regalloc3 review


view this post on Zulip Amanieu (Jul 10 2025 at 23:58):

regalloc3 is now ready for review:

New register allocator designed as a successor to regalloc2 - Amanieu/regalloc3
This PR serves as a placeholder for the initial review of regalloc3.
Currently still a draft because: The regalloc3 crate isn't published yet. This is missing support for debug locations.
This is based on bytecodealliance/regalloc2#230 which adds regalloc3 as a back-end to regalloc2. Only one change had to be made to codegen: tail calls were reserving r11 as a scratch register by ma...
Rendered

Last updated: Dec 06 2025 at 06:05 UTC