[LLVMdev] Postponing more passes in LTO

Rafael Espíndola rafael.espindola at gmail.com
Thu Sep 18 19:58:47 PDT 2014


On 18 September 2014 09:54, Daniel Stewart <stewartd at codeaurora.org> wrote:
> If the notes about that pipeline are still around, I’d love to hear
> about/look at it. I’d like to investigate some changes to LTO, but certainly
> want to know what has already been discussed/discovered about the flow.

>From what I remember from a previous discussion, an interesting
proposal from Chandler was to run the inliner with a threshold of 0 if
given -flto. This would inline in each TU only if that wouldn't
complicate things for inlining during linking.

Implementing it should be fairly simple, so it might be a nice first
thing to try.

Cheers,
Rafael




More information about the llvm-dev mailing list