[all-commits] [llvm/llvm-project] fe364e: [NFC] Remove LinkAll*.h

aeubanks via All-commits all-commits at lists.llvm.org
Tue Nov 2 08:44:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe364e5dc78c58a915986d9a44cfd65f919a00c2
      https://github.com/llvm/llvm-project/commit/fe364e5dc78c58a915986d9a44cfd65f919a00c2
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

  Changed paths:
    M clang/tools/driver/cc1_main.cpp
    M llvm/docs/WritingAnLLVMPass.rst
    R llvm/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
    R llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h
    R llvm/include/llvm/LinkAllIR.h
    R llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/module.modulemap
    M llvm/lib/Analysis/CallPrinter.cpp
    M llvm/lib/Analysis/DomPrinter.cpp
    M llvm/lib/Analysis/RegionInfo.cpp
    M llvm/lib/CodeGen/MachineRegionInfo.cpp
    M llvm/tools/bugpoint/bugpoint.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/lli/lli.cpp
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [NFC] Remove LinkAll*.h

These were added to prevent functions from being removed by WPO.

But that doesn't make sense, correct WPO will not remove functions we actually use.

I noticed these because compiling cc1_main.cpp was pulling in random LLVM pass headers.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D112971




More information about the All-commits mailing list