Stream: git-wasmtime

Topic: wasmtime / PR #5644 Rework the switch module in cranelift...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 01:38):

elliottt opened PR #5644 from trevor/switch-brif to main:

Rework the compilation strategy for switch to:

<!--

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 (Jan 27 2023 at 01:47):

elliottt has marked PR #5644 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 01:47):

elliottt requested jameysharp for a review on PR #5644.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 01:48):

elliottt edited PR #5644 from trevor/switch-brif to main:

Rework the compilation strategy for switch to:

@bjorn3, if you have time to look through this I'd appreciate it!
<!--

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 (Jan 27 2023 at 01:54):

elliottt updated PR #5644 from trevor/switch-brif to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 06:49):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 06:49):

elliottt created PR review comment:

This should probably be a smallvec of size 3 instead of a Vec.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 12:11):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 12:11):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 12:11):

bjorn3 created PR review comment:

nit:

similar = { workspace = true }

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 12:11):

bjorn3 created PR review comment:

Could you instead call bx.create_block() right before using it instead of before the for loop? That did just need a check if you are at the last iteration of the for loop and in that case use otherwise instead of bx.create_block().

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 16:01):

elliottt updated PR #5644 from trevor/switch-brif to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 16:01):

elliottt updated PR #5644 from trevor/switch-brif to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 16:12):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 16:12):

elliottt created PR review comment:

It was nice to avoid the explicit index check in the loop, but you're right, that's a simpler implementation :)

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 17:25):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 18:35):

elliottt updated PR #5644 from trevor/switch-brif to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 27 2023 at 23:05):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 28 2023 at 00:00):

elliottt merged PR #5644.


Last updated: Dec 23 2024 at 12:05 UTC