summaryrefslogtreecommitdiff
path: root/test/binaryen.js/sideffects.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-05 13:12:26 -0700
committerGitHub <noreply@github.com>2023-07-05 13:12:26 -0700
commitf963083cfb7ca42d76928f52889faf4aeaec54cf (patch)
tree3076145eb9281c320cd0d3fc526482c349195b75 /test/binaryen.js/sideffects.js
parentef7f98e50662374b17d88c149a2ba1c11f918e5c (diff)
downloadbinaryen-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 'test/binaryen.js/sideffects.js')
0 files changed, 0 insertions, 0 deletions