4 ms·
Re: Why does link-time optimization (LTO) happen at link-time? I think maybe LLVM's ThinLTO is what you're looking for where whole-program optimization (more o
by mshockwave 2y ago
Re: Why does link-time optimization (LTO) happen at link-time?
I think maybe LLVM's ThinLTO is what you're looking for where whole-program optimization (more or less) happens in middle end.
- baziotis 2y agoI don't know that much about ThinLTO but ThinLTO just works on summaries instead of the full code right? It still seems the linker is the one who reads these summaries (doc: https://clang.llvm.org/docs/ThinLTO.html https://clang.llvm.org/docs/ThinLTO.html).
- pjmlp 2y agoAs far as I remember from some LLVM talks, apparently only ThinLTO is kind of usable, full LTO doesn't seem to be fully used. Just my perception.