mehdi_amini added a comment. Not reading any IR during ThinLTO is important, only if we really can do differently I'd consider it. But I'd look at every options/tradeoff before and make sure the design does not lock us in. https://reviews.llvm.org/D27324