Allow disabling wasm-opt while keeping clang optimizations
#25885
anlavandier
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The webassembly optimizer
wasm-optdoesn't support every proposal thatclang/lldsupports. This can lead to case where an option that is valid and recognized byemccfails at the optimization stage becausewasm-optdoesn't know of/support a specific feature.For example, the custom page size proposal is support by LLVM since at least LLVM 21.0 but isn't supported by
wasm-optas of right now; see WebAssembly/binaryen#7694.Allowing the
wasm-optstep to be skipped would allow users to still get the clang optimizations in such cases and leave them the possibility of further optimizing the resulting wasm using either a newer version of wasm-opt or the competing optimizer fromwasm-toolsBeta Was this translation helpful? Give feedback.
All reactions