[all-commits] [llvm/llvm-project] 99c47d: Remove TargetMachine::adjustPassManager

Björn Pettersson via All-commits all-commits at lists.llvm.org
Mon Nov 28 01:27:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c
      https://github.com/llvm/llvm-project/commit/99c47d9e3113a917ea2f84f27e57f2ea3da4fc8c
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

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

  Log Message:
  -----------
  Remove TargetMachine::adjustPassManager

Since opt no longer supports to run default (O0/O1/O2/O3/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.

Reviewed By: aeubanks

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




More information about the All-commits mailing list