fitzgen opened issue #6750:
Right now we adjust SP, build the tail callee frame below the current frame and then copy it over the top of our current frame just before we reset SP and then transfer control to the callee.
We should avoid bumping SP twice and building a frame that we then copy by doing parallel moves solving. This will require exposing the parallel moves solver from
regalloc2
, but it is already generic, so should work for our purposes here.
fitzgen added the cranelift label to Issue #6750.
fitzgen added the cranelift:goal:optimize-speed label to Issue #6750.
Last updated: Dec 23 2024 at 12:05 UTC