[all-commits] [llvm/llvm-project] c80b12: Revert D135427 "[LTO] Make local linkage GlobalVal...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Oct 19 11:24:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c80b12d352d5c88cd812bf2707672f11b3010984
      https://github.com/llvm/llvm-project/commit/c80b12d352d5c88cd812bf2707672f11b3010984
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll
    M llvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
    M llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll

  Log Message:
  -----------
  Revert D135427 "[LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally"

This reverts commit 8ef3fd8d59ba0100bc6e83350ab1e978536aa531.

I mentioned that GlobalAlias was not handled. It turns out GlobalAlias has to be handled in the same patch (as opposed to in a follow-up),
as otherwise clang codegen of C5/D5 constructor/destructor would regress (https://reviews.llvm.org/D135427#3869003).




More information about the All-commits mailing list