Replies: 1 comment
-
Closing as duplicate of WebAssembly/binaryen#7190 |
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
-
Since Emscripten uses
clang
to generate object/wasm files at compile time (e.g. C) and useswasm-opt
to optimize the code at linking time, and since bothclang
andwasm-opt
are given the same optimization level (e.g. O2), why do we still need to usewasm-opt
to optimize the Wasm binary after optimizing on LLVM-IR?wasm-opt
also provides some general passes, are these general passes not possible with LLVM's optimization?clang
andwasm-opt
, and do any of these passes have the same functionality?Beta Was this translation helpful? Give feedback.
All reactions