Revert "[LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_exter...
authorJordan Rupprecht <rupprecht@google.com>
Mon, 10 Oct 2022 18:40:45 +0000 (11:40 -0700)
committerJordan Rupprecht <rupprecht@google.com>
Mon, 10 Oct 2022 18:40:45 +0000 (11:40 -0700)
commitfb27fd5f88b0fc72cc7ffc49f132bda7da9c4d2c
tree0f1321c308b844af13570d210ac700118ee3b9c0
parent438e59182b0c2e44c263f5bacc1add0e514354f8
Revert "[LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally"

This reverts commit 4fbe33593c8132fdc48647c06f4d1455bfff1c88. It causes linking errors, with details provided internally. (Hopefully the author/reviewers will be able to upstream the internal repro).
llvm/lib/LTO/LTO.cpp
llvm/lib/Transforms/IPO/FunctionImport.cpp
llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll
llvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll