[PATCH] D53294: [ThinLTO] Add an option to disable (thin)lto internalization.
Xin Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 15 10:48:27 PDT 2018
trentxintong added a comment.
Internalization leads to the possibility of changing the function ABI, better global modref AA, better chance of discarding an unused symbol, etc.
ThinLTO usually does not do as good of a job internalizing than LTO.
With this option, we can study the effect of other optimizations, primarily importing+inlining, in (mostly) isolation. i.e. With it disabled, we can study the performance gap between LTO and ThinLTO because of differences in importing and inlining decisions in isolation.
Another benefit we could get is if we disable internalization and LTO, ThinLTO binary performs very similarly (or less differently than before). We can then focus on looking at what have been internalized and what benefits those bring.
Repository:
rL LLVM
https://reviews.llvm.org/D53294
More information about the llvm-commits
mailing list