emscripten-core / emscripten-core/emscripten
LTO in wasm backend not that effective
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
E.g. on Box2D it increases code size by 2.5%, and users report similar things on the mailing list - results with fastcomp used to be better. (tested with `-flto` at compile and `-flto --llvm-lto 1` at link)
Perhaps LLVM LTO has changed a lot between the LLVM versions, and no longer shrinks code size as much? Or perhaps we are not doing something right? cc @sbc100
Contributor guide
Assessment
This issue has not been assessed yet.