diff options
author | Max Graey <maxgraey@gmail.com> | 2020-11-10 21:41:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 11:41:22 -0800 |
commit | 0c20d9f427b63a6fdc354bb917c11f382068eaec (patch) | |
tree | 750a49a311872f566d6c5b91a29d19d5f2a2e3c1 /test/wasm2js/excess_fallthrough.2asm.js.opt | |
parent | 5d2c13f16af2183a5d1861828e512fe0f964990c (diff) | |
download | binaryen-0c20d9f427b63a6fdc354bb917c11f382068eaec.tar.gz binaryen-0c20d9f427b63a6fdc354bb917c11f382068eaec.tar.bz2 binaryen-0c20d9f427b63a6fdc354bb917c11f382068eaec.zip |
Canonicalize subtraction with constant on the right to addition (#3321)
Using addition in more places is better for gzip, and helps simplify the
optimizer as well.
Add a FinalOptimizer phase to do optimizations like our signed LEB tweaks, to
reduce binary size in the rare case when we do want a subtraction.
Diffstat (limited to 'test/wasm2js/excess_fallthrough.2asm.js.opt')
0 files changed, 0 insertions, 0 deletions