How does Wasm-opt's 0s/0z work? #5014
Unanswered
Simarkohli24
asked this question in
Q&A
Replies: 1 comment
-
Binaryen's optimizations are a mix of classic compiler optimizations like dead code elimination, common subexpression elimination, inlining, etc. and WebAssembly-specific optimizations like memory packing, removing unused branch instructions and control flow labels, and reordering things to minimize the code size of indices. Using You can see the full list of available passes here or with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking into optimizing my WebAssembly code. Noticed a size-focused parameter, so wanted to know more about what exactly it's doing.
What are the optimization transforms that Wasm-opt will do?
Beta Was this translation helpful? Give feedback.
All reactions