FunctionImport: make sure we always select the right callee in presence of alias
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 20 Apr 2016 04:17:36 +0000 (04:17 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 20 Apr 2016 04:17:36 +0000 (04:17 +0000)
commit2c719cc11781bba190687b3a68fea88d88e2fef8
tree8a738579ecb02f262d0f6533b686d49307fab5f3
parent48591dd98cd840e7add4615211691bf4bbb5640d
FunctionImport: make sure we always select the right callee in presence of alias

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266854
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/test/ThinLTO/X86/Inputs/select_right_alias_definition1.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/Inputs/select_right_alias_definition2.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/select_right_alias_definition.ll [new file with mode: 0644]