[PATCH] D26121: [ThinLTO] Use per-summary flag to prevent exporting locals used in inline asm
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 29 16:11:11 PDT 2016
tejohnson created this revision.
tejohnson added a reviewer: mehdi_amini.
tejohnson added a subscriber: llvm-commits.
Instead of using the workaround of suppressing the entire index for
modules that call inline asm that may reference locals, use the
NoRename flag on the summary for any locals in the llvm.used set, and
add a reference edge from any functions containing inline asm.
This avoids issues from having no summaries despite the module defining
global values, which was preventing more aggressive index-based
optimization. It will be followed by a subsequent patch to make a
similar fix for local references in module level asm (to fix PR30610).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7575 bytes
Desc: not available
More information about the llvm-commits