[PATCH] D29701: ThinLTOBitcodeWriter: Write available_externally copies of VCP eligible functions to merged module.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 18:21:49 PST 2017


pcc added a comment.

In https://reviews.llvm.org/D29701#674280, @tejohnson wrote:

> I assume these get dropped in the usual place where we eliminate available externally.


Yes (i.e. at the end of the regular LTO pipeline).

> Does VCP benefit from any of the other optimizations we would typically apply before that point (e.g. inlining)?

I suppose that is possible in principle, but I wouldn't typically expect it to; I've found that VCP eligible functions tend to be relatively trivial functions that are fully inlined into leaf functions at compile time.


https://reviews.llvm.org/D29701





More information about the llvm-commits mailing list