llvm/test/Transforms/FunctionImport
Mehdi Amini dd2d6cfee4 ThinLTO: do not import function whose linkage prevents inlining.
There is not point in importing a "weak" or a "linkonce" function
since we won't be able to inline it anyway.
We already had a targeted check for WeakAny, this is using the
same check on GlobalValue as the inline, i.e.
isMayBeOverriddenLinkage()

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268341 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-03 00:27:28 +00:00
..
Inputs ThinLTO: do not import function whose linkage prevents inlining. 2016-05-03 00:27:28 +00:00
adjustable_threshold.ll Move summary creation out of llvm-as into opt 2016-04-12 21:35:18 +00:00
funcimport_alias.ll Move summary creation out of llvm-as into opt 2016-04-12 21:35:18 +00:00
funcimport_debug.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
funcimport.ll ThinLTO: do not import function whose linkage prevents inlining. 2016-05-03 00:27:28 +00:00
inlineasm.ll [ThinLTO] Prevent importing of "llvm.used" values 2016-04-20 14:39:45 +00:00