bytecodealliance / bytecodealliance/wasmtime

Propagate `trapz` backwards from `ref.cast` into the branch-y instance-of check that it emits

Open
#13,485 0 comments 0 reactions 0 assignees View on GitHub
enhancement performance wasm-proposal:gc
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 19h
Merged PRs (30d)
121

Description

Propagate `trapz` backwards from `ref.cast` into the branch-y instance-of check that it emits. Similar for the jumps inside a `br_on_cast[_fail]`'s instance-of check. See https://github.com/bytecodealliance/wasmtime/pull/9437#discussion_r1795656924 for details. Alternatively, clean this stuff up in the mid-end: https://github.com/bytecodealliance/wasmtime/issues/6106

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.