diff options
author | Alon Zakai <azakai@google.com> | 2020-01-10 06:37:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 06:37:00 -0800 |
commit | 263d2d5025c98092f781c8b8d9eb7ac6df6aadab (patch) | |
tree | 4994c331c247a7c78d241f655b10a93e59027593 /third_party/llvm-project | |
parent | 98747d97f089354091d115fb300006f3cc506a0c (diff) | |
download | binaryen-263d2d5025c98092f781c8b8d9eb7ac6df6aadab.tar.gz binaryen-263d2d5025c98092f781c8b8d9eb7ac6df6aadab.tar.bz2 binaryen-263d2d5025c98092f781c8b8d9eb7ac6df6aadab.zip |
wasm2js: Do not convert x >>> 0 | 0 to x >>> 0 (#2581)
isBinary was used where we should only accept
a signed binary, as removing the | 0 from an unsigned
value may be incorrect.
This does regress a few small things (as can be seen
in the diff). If it's important we can add more sophisticated
optimizations here, perhaps like an assumption that the
signedness of a local never matters.
Fixes emscripten-core/emscripten#10173
Diffstat (limited to 'third_party/llvm-project')
0 files changed, 0 insertions, 0 deletions