[all-commits] [llvm/llvm-project] 2121dc: [llvm-lto] Remove support for legacy pass manager

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 11 00:40:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2121dc5b158b0d11667a5d8c39f0121b869ca1c5
      https://github.com/llvm/llvm-project/commit/2121dc5b158b0d11667a5d8c39f0121b869ca1c5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M clang/test/Driver/memtag_lto.c
    M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
    M llvm/test/Analysis/StackSafetyAnalysis/ipa.ll
    M llvm/test/Feature/load_extension.ll
    M llvm/test/LTO/Resolution/X86/load-sample-prof-icp.ll
    M llvm/test/LTO/Resolution/X86/load-sample-prof-lto.ll
    M llvm/test/LTO/X86/diagnostic-handler-remarks.ll
    M llvm/test/LTO/X86/disable-verify.ll
    M llvm/test/LTO/X86/tailcallelim.ll
    M llvm/test/LTO/X86/tli-nobuiltin.ll
    M llvm/test/Other/X86/lto-hot-cold-split.ll
    M llvm/test/ThinLTO/X86/cfi-devirt.ll
    M llvm/test/ThinLTO/X86/cfi-unsat.ll
    M llvm/test/ThinLTO/X86/cfi.ll
    M llvm/test/ThinLTO/X86/devirt-after-icp.ll
    M llvm/test/ThinLTO/X86/devirt.ll
    M llvm/test/ThinLTO/X86/devirt2.ll
    M llvm/test/ThinLTO/X86/devirt_check.ll
    M llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
    M llvm/test/ThinLTO/X86/devirt_local_same_guid.ll
    M llvm/test/ThinLTO/X86/devirt_promote.ll
    M llvm/test/ThinLTO/X86/devirt_vcall_vis_hidden.ll
    M llvm/test/ThinLTO/X86/devirt_vcall_vis_public.ll
    M llvm/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
    M llvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll
    M llvm/test/ThinLTO/X86/newpm-basic.ll
    M llvm/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
    M llvm/test/ThinLTO/X86/printer.ll
    M llvm/test/tools/llvm-lto2/X86/pipeline.ll
    M llvm/test/tools/llvm-lto2/X86/slp-vectorize-pm.ll
    M llvm/tools/llvm-lto/llvm-lto.cpp
    M llvm/tools/llvm-lto2/llvm-lto2.cpp

  Log Message:
  -----------
  [llvm-lto] Remove support for legacy pass manager

This removes support for the legacy pass manager in llvm-lto and
llvm-lto2. In this case I've dropped the use-new-pm option entirely,
as I don't think this is considered part of the public interface.

This also makes -debug-pass-manager work with llvm-lto, because
that was needed to migrate some tests to NewPM.

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




More information about the All-commits mailing list