[ThinLTO] Don't internalize during promotion
commit55b4ec919455c3ca2254064e58b1bdc77d9ada7d
authorEugene Leviant <eleviant@accesssoftek.com>
Tue, 22 Oct 2019 09:24:12 +0000 (22 09:24 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Tue, 22 Oct 2019 09:24:12 +0000 (22 09:24 +0000)
treec60d11b62fd7a276fffb493065b7dd03cc05f70d
parent5cd00d15af3c8387d497ba5945a3d88c9177685f
[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