Stream: git-wasmtime

Topic: wasmtime / PR #5222 Add a VRegAllocator to abstract over ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:17):

elliottt opened PR #5222 from trevor/vreg-allocator to main:

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:34):

elliottt updated PR #5222 from trevor/vreg-allocator to main.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:35):

elliottt edited PR #5222 from trevor/vreg-allocator to main:

Remove the dependency on VCode for VReg allocation. This will simplify the changes in #5172, as that PR introduces the need to allocate temporary registers from the ABI context.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:38):

elliottt edited PR #5222 from trevor/vreg-allocator to main:

Remove the dependency on VCode for VReg allocation. This will simplify the changes in #5172, as that PR introduces the need to allocate temporary registers from the ABI context.

This change also allows us to remove some fields from VCode: reftyped_vregs_set and have_ref_values. Additionally, the vcode_types field appears to be only used for its length after the VCode is built, so we could probably replace that field with a u32 as well.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:38):

elliottt has marked PR #5222 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 08 2022 at 05:38):

elliottt requested cfallin for a review on PR #5222.


Last updated: Nov 22 2024 at 17:03 UTC