]> granicus.if.org Git - llvm/commit
ModuleSummaryAnalysis: Correctly handle refs from function inline asm to module inlin...
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 1 Sep 2017 16:24:02 +0000 (16:24 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 1 Sep 2017 16:24:02 +0000 (16:24 +0000)
commit043998b329efeb8efdd2aed58a2e6ee38f6b3fdc
treee22910b8f3a983fdb0a0059f7127cfa9e3dffcdd
parent5d292d77f56dfa221128912f8ce694214e6dad9e
ModuleSummaryAnalysis: Correctly handle refs from function inline asm to module inline asm.

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.

Differential Revision: https://reviews.llvm.org/D37370

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ModuleSummaryAnalysis.cpp
test/Bitcode/thinlto-asm-noimport.ll [new file with mode: 0644]