[PATCH] D112971: [NFC] Remove LinkAll*.h

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 1 16:47:55 PDT 2021


aeubanks created this revision.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
Herald added a reviewer: baziotis.
Herald added projects: clang, LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112971

Files:
  clang/tools/driver/cc1_main.cpp
  llvm/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
  llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h
  llvm/include/llvm/LinkAllIR.h
  llvm/include/llvm/LinkAllPasses.h
  llvm/lib/Analysis/CallPrinter.cpp
  llvm/lib/Analysis/DomPrinter.cpp
  llvm/lib/Analysis/RegionInfo.cpp
  llvm/lib/CodeGen/MachineRegionInfo.cpp
  llvm/tools/bugpoint/bugpoint.cpp
  llvm/tools/llc/llc.cpp
  llvm/tools/lli/lli.cpp
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112971.383924.patch
Type: text/x-patch
Size: 23719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211101/23628e8b/attachment-0001.bin>


More information about the cfe-commits mailing list