Skip to content

Mention that thin LTO is not full tested. See #15638 #15664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions site/source/docs/compiling/WebAssembly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ upgrade from fastcomp to upstream:
compile and link time.

* You can enable Link Time Optimization (LTO) with the usual llvm flags
(``-flto``, ``-flto=full``, ``-flto=thin``, at both compile and link times).
These flags will make the wasm backend behave more like fastcomp.
(``-flto``, ``-flto=full``, ``-flto=thin``, at both compile and link times;
note, however, that thin LTO is not heavily tested atm and so regular LTO
is recommended).

* With fastcomp, LTO optimization passes were not be run by default; for that
it was necessry to pass ``--llvm-lto 1``. With the llvm backend LTO passes
Expand Down