[all-commits] [llvm/llvm-project] 62ef97: [llvm-c] Remove PassRegistry and initialization APIs

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Apr 14 03:13:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62ef97e0631ff41ad53436477cecc7d3eb244d1b
      https://github.com/llvm/llvm-project/commit/62ef97e0631ff41ad53436477cecc7d3eb244d1b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    M llvm/bindings/python/llvm/core.py
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm-c/Core.h
    R llvm/include/llvm-c/Initialization.h
    M llvm/include/llvm-c/Types.h
    M llvm/include/llvm/PassRegistry.h
    M llvm/lib/Analysis/Analysis.cpp
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/Target/Target.cpp
    M llvm/lib/Transforms/IPO/IPO.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    M llvm/lib/Transforms/Utils/Utils.cpp
    M llvm/lib/Transforms/Vectorize/Vectorize.cpp
    M llvm/tools/llvm-c-test/include-all.c
    M llvm/tools/llvm-c-test/main.c

  Log Message:
  -----------
  [llvm-c] Remove PassRegistry and initialization APIs

Remove C APIs for interacting with PassRegistry and pass
initialization. These are legacy PM concepts, and are no longer
relevant for the new pass manager.

Calls to these initialization functions can simply be dropped.

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




More information about the All-commits mailing list