diff options
author | Alon Zakai <azakai@google.com> | 2021-09-16 13:07:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 13:07:31 -0700 |
commit | 8e8bce1b59a8d60a35e21798c6aec95e3dcade6b (patch) | |
tree | 395986ea97218394d91360b1657f5317c58d26bc /scripts/fuzz_opt.py | |
parent | 433bffa7452906112f89278fcd5bad66bd473ae2 (diff) | |
download | binaryen-8e8bce1b59a8d60a35e21798c6aec95e3dcade6b.tar.gz binaryen-8e8bce1b59a8d60a35e21798c6aec95e3dcade6b.tar.bz2 binaryen-8e8bce1b59a8d60a35e21798c6aec95e3dcade6b.zip |
[Wasm GC] Optimize away ref.as_non_null going into local.set in TNH mode (#4157)
If we can remove such traps, we can remove ref.as_non_null if the local
type is nullable anyhow.
If we support non-nullable locals, however, then do not do this, as it
could inhibit specializing the local type later. Do the same for tees which
we had existing code for.
Background: #4061 (comment)
Diffstat (limited to 'scripts/fuzz_opt.py')
0 files changed, 0 insertions, 0 deletions