[llvm-dev] Can LTO optimize across functions? (original) (raw)

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Sat Feb 16 10:43:03 PST 2019


Hi,

It is not clear to me in the clang LTO documentation. Can the optimization across multiple functions? For example, if a function turns better to be inlined, will it be inlined? Or if some basicblocks are the same between functions, will multiple functions use the same basic block. Thanks.

https://clang.llvm.org/docs/ThinLTO.html

-- Regards, Peng



More information about the llvm-dev mailing list