Delete what is now duplicated code.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 22:22:24 +0000 (22:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 22:22:24 +0000 (22:22 +0000)
commit8c04472edf7f1248e400ea4e08ac0d19bd481715
treec02839f156c6729e94527475ad9533df6e43ddc8
parentb3757c008b89c4896d4848b847a513c2c998c1a6
Delete what is now duplicated code.

Having to import an alias as declaration is not thinlto specific.

The test difference are because when we already have a decl and we are
not importing it, we just leave the decl alone.

llvm-svn: 254556
llvm/lib/Linker/LinkModules.cpp
llvm/test/Linker/funcimport.ll
llvm/test/Transforms/FunctionImport/funcimport.ll