[PATCH] D37370: ModuleSummaryAnalysis: Correctly handle refs from function inline asm to module inline asm.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 21:33:34 PDT 2017


pcc created this revision.
Herald added subscribers: hiraditya, eraman, mehdi_amini, srhines.

If a function contains inline asm and the module-level inline asm
contains the definition of a local symbol, prevent the function from
being imported in case the function-level inline asm refers to a
symbol in the module-level inline asm.


https://reviews.llvm.org/D37370

Files:
  llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
  llvm/test/Bitcode/thinlto-asm-noimport.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37370.113506.patch
Type: text/x-patch
Size: 8088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/9d191be7/attachment.bin>


More information about the llvm-commits mailing list