[PATCH] D144970: [llvm-c] Remove bindings for creating legacy passes

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 07:59:27 PST 2023


nikic created this revision.
nikic added a reviewer: aeubanks.
Herald added a reviewer: deadalnix.
Herald added subscribers: ormris, StephenFan, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D144970

Files:
  clang/docs/tools/clang-formatted-files.txt
  llvm/docs/ReleaseNotes.rst
  llvm/include/llvm-c/Transforms/IPO.h
  llvm/include/llvm-c/Transforms/InstCombine.h
  llvm/include/llvm-c/Transforms/Scalar.h
  llvm/include/llvm-c/Transforms/Utils.h
  llvm/include/llvm-c/Transforms/Vectorize.h
  llvm/lib/Transforms/IPO/IPO.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Scalar/Scalar.cpp
  llvm/lib/Transforms/Utils/Utils.cpp
  llvm/lib/Transforms/Vectorize/Vectorize.cpp
  llvm/tools/llvm-c-test/include-all.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144970.501145.patch
Type: text/x-patch
Size: 24250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/72fe4520/attachment.bin>


More information about the llvm-commits mailing list