diff options
author | Alon Zakai <azakai@google.com> | 2023-07-05 13:12:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 13:12:26 -0700 |
commit | f963083cfb7ca42d76928f52889faf4aeaec54cf (patch) | |
tree | 3076145eb9281c320cd0d3fc526482c349195b75 /src/wasm/wasm-binary.cpp | |
parent | ef7f98e50662374b17d88c149a2ba1c11f918e5c (diff) | |
download | binaryen-f963083cfb7ca42d76928f52889faf4aeaec54cf.tar.gz binaryen-f963083cfb7ca42d76928f52889faf4aeaec54cf.tar.bz2 binaryen-f963083cfb7ca42d76928f52889faf4aeaec54cf.zip |
OptimizeInstructions: Loop on fallthrough values in RefTest (#5797)
This parallels the code in RefCast. Previously we only looked at the type reaching us, but
intermediate fallthrough values can let us optimize too. In particular, we were not
optimizing (ref.test (local.tee ..)) if the tee was to a less-refined type.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions