[PATCH] D26402: [ThinLTO] Make inline assembly handling more efficient in summary

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 14:08:27 PST 2016


tejohnson added a comment.

In https://reviews.llvm.org/D26402#589941, @mehdi_amini wrote:

> I have to think about what it means in terms of invariants during the ThinLink (missing edges)


Remember we are currently only adding edges to locals in llvm.used/llvm.compiler.used sets anyway, for the purposes of limiting importing of the inline asm calling function, not even to all of the GVs listed in llvm.used/llvm.compiler.used. Also, all values in those sets are already referenced from the globalvar summary for the llvm.used or llvm.compiler.used, so they don't look dead.


https://reviews.llvm.org/D26402





More information about the llvm-commits mailing list