[PATCH] D18986: [ThinLTO] Prevent importing of "llvm.used" values

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 17:07:17 PDT 2016


joker.eph added a comment.

Yes this was my tentative distinction 1) and 2) above, i.e. promoting a function present in llvm.used vs importing a function that contains inline ASM. 
We should be able to always promote AFAICT, but not import the one that contains Inline ASM if it has a reference to a local function.


http://reviews.llvm.org/D18986





More information about the llvm-commits mailing list