jameysharp opened PR #8486 from jameysharp:operand-collector-by-ref
to bytecodealliance:main
:
Now all registers passed to the operand collector are mutably borrowed directly out of their original locations in the Inst, so it is possible to update them in place.
As an initial demonstration of the utility of this change, the results of the VReg renamer are applied directly to the instructions during operand collection, and then all VReg aliases are cleared after operand collection.
Most of this commit consists of deleting noise from the many
get_operands
implementations in all the backends: most ampersands and asterisks, and all uses of theref
keyword.
jameysharp requested wasmtime-compiler-reviewers for a review on PR #8486.
jameysharp requested fitzgen for a review on PR #8486.
fitzgen submitted PR review:
Very nice!
fitzgen merged PR #8486.
Last updated: Nov 22 2024 at 17:03 UTC