Stream: git-wasmtime

Topic: wasmtime / PR #5721 Keep reachable jump tables


view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2023 at 20:16):

elliottt opened PR #5721 from trevor/prune-jump-tables to main:

Instead of identifying unused branch tables by looking for unused blocks inside of them, track used branch tables while traversing reachable blocks. This introduces an extra allocation of an EntitySet to track the used jump tables, but as those are few and this function runs once per ir::Function, the allocation seems reasonable.

<!--

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 (Feb 06 2023 at 20:23):

elliottt requested cfallin for a review on PR #5721.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2023 at 20:30):

elliottt requested jameysharp for a review on PR #5721.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2023 at 21:21):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 06 2023 at 22:10):

elliottt merged PR #5721.


Last updated: Oct 23 2024 at 20:03 UTC