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

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 03:05:01 PDT 2023


nikic added a comment.

In D144970#4434305 <https://reviews.llvm.org/D144970#4434305>, @yamt wrote:

> at least some of these stuff is used by wasm-micro-runtime. do you have a suggestion about how to adapt it?
> https://github.com/bytecodealliance/wasm-micro-runtime/blob/72fc872afe9a51228b2a32bc7b08475b176f187f/core/iwasm/compilation/aot_compiler.c#L2666-L2670

You can use `LLVMRunPasses` with `lower-atomic,lower-switch` or so.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144970/new/

https://reviews.llvm.org/D144970



More information about the cfe-commits mailing list