Stream: git-wasmtime

Topic: wasmtime / PR #5277 Remove unnecessary moves in x64 gen_m...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 00:51):

elliottt opened PR #5277 from trevor/remove-unnecessary-memcpy-moves to main:

Remove some unnecessary moves in the x64 gen_memcpy implementation -- the call instruction that's generated will already constrain the args to those registers.
<!--

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 16 2022 at 05:22):

elliottt has marked PR #5277 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:30):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:30):

elliottt created PR review comment:

Was this mov a bug in the previous lowering? %r14 at that point would be v2 so moving it in at this point would use v2 for the v1 memcpy.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:30):

elliottt deleted PR review comment.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:32):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:32):

elliottt created PR review comment:

This is one of the moves removed by this PR, and is redundant with the move on line 139.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:32):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 18:33):

elliottt merged PR #5277.


Last updated: Nov 22 2024 at 17:03 UTC