[all-commits] [llvm/llvm-project] f7ca01: [llvm-c] Remove bindings for creating legacy passes

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Mar 2 00:54:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7ca01333214f934c580c162afdee933e7430b6c
      https://github.com/llvm/llvm-project/commit/f7ca01333214f934c580c162afdee933e7430b6c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    M llvm/docs/ReleaseNotes.rst
    R llvm/include/llvm-c/Transforms/IPO.h
    R llvm/include/llvm-c/Transforms/InstCombine.h
    R llvm/include/llvm-c/Transforms/Scalar.h
    R llvm/include/llvm-c/Transforms/Utils.h
    R llvm/include/llvm-c/Transforms/Vectorize.h
    M llvm/lib/Transforms/IPO/IPO.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.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

  Log Message:
  -----------
  [llvm-c] Remove bindings for creating legacy passes

Legacy passes are only supported for codegen, and I don't believe
it's possible to write backends using the C API, so we should drop
all of those. Reduces the number of places that need to be modified
when removing legacy passes.

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




More information about the All-commits mailing list