[PATCH] D27324: IPO: Introduce ThinLTOBitcodeWriter pass.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 11:15:28 PST 2016


pcc added a comment.

In https://reviews.llvm.org/D27324#612009, @mehdi_amini wrote:

> Another high-level comment: technically I don't think we need to split anything for type-based LTO devirtualization.


It may be possible to implement vcall opt without splitting, but it certainly seems a lot more complicated. For example virtual const prop works by "evaluating" each virtual function; we'd somehow need to figure out which virtual functions can be evaluated and store the values in the summary.


https://reviews.llvm.org/D27324





More information about the llvm-commits mailing list