[PATCH] D137796: Remove TargetMachine::adjustPassManager

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 12:12:16 PST 2022


bjope created this revision.
bjope added reviewers: aeubanks, jholewinski.
Herald added subscribers: kosarev, mattd, gchakrabarti, asavonic, ormris, foad, awarzynski, kerbowa, steven_wu, hiraditya, jvesely, arsenm.
Herald added a project: All.
bjope requested review of this revision.
Herald added a project: LLVM.

Since opt no longer supports to run default (O0/O1 <https://reviews.llvm.org/owners/package/1/>/O2 <https://reviews.llvm.org/owners/package/2/>/O3 <https://reviews.llvm.org/owners/package/3/>/Os/Oz)
pipelines using the legacy PM, there are no in-tree uses of
TargetMachine::adjustPassManager remaining. This patch removes the
no longer used adjustPassManager functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137796

Files:
  llvm/docs/NVPTXUsage.rst
  llvm/docs/NewPassManager.rst
  llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
  llvm/include/llvm/Target/TargetMachine.h
  llvm/lib/LTO/LTO.cpp
  llvm/lib/LTO/LTOCodeGenerator.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
  llvm/lib/Target/BPF/BPFTargetMachine.cpp
  llvm/lib/Target/BPF/BPFTargetMachine.h
  llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
  llvm/lib/Target/Hexagon/HexagonTargetMachine.h
  llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
  llvm/lib/Target/NVPTX/NVPTXTargetMachine.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137796.474588.patch
Type: text/x-patch
Size: 15084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221110/07693cb0/attachment.bin>


More information about the llvm-commits mailing list