bytecodealliance / bytecodealliance/wasmtime
Propagate `trapz` backwards from `ref.cast` into the branch-y instance-of check that it emits
Open
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
Assessment
This issue has not been assessed yet.