[ThinLTO] Don't internalize during promotion
commit079843ff6b0efac8e58ed1ac9fbeb2e545b15fbc
authorEugene Leviant <evgeny.leviant@gmail.com>
Tue, 22 Oct 2019 09:24:12 +0000 (22 09:24 +0000)
committerEugene Leviant <evgeny.leviant@gmail.com>
Tue, 22 Oct 2019 09:24:12 +0000 (22 09:24 +0000)
treec60d11b62fd7a276fffb493065b7dd03cc05f70d
parentd60ddc37433b26b71728cbe488111828dca33356
[ThinLTO] Don't internalize during promotion

Differential revision: https://reviews.llvm.org/D69107

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/FunctionImport.cpp
test/ThinLTO/X86/not-internalized.ll [new file with mode: 0644]
test/ThinLTO/X86/weak_externals.ll