wasm-micro-runtime/core/iwasm
Wenyong Huang 5631a2aa18
Use LLVM new pass manager for wamrc (#978)
Use LLVM new pass manager for wamrc to replace the legacy pass manger,
so as to gain better performance and reduce the compilation time.
Reference links:
- https://llvm.org/docs/NewPassManager.html
- https://blog.llvm.org/posts/2021-03-26-the-new-pass-manager

And add an option to use the legacy pm mode when building wamrc:
cmake .. -DWAMR_BUILD_LLVM_LEGACY_PM=1

For JIT mode, keep it unchanged as it only runs several function passes and
using new pass manager will increase the compilation time.

And refactor the codes of applying LLVM passes.
2022-01-24 11:10:37 +08:00
..
aot Refactor Orc JIT to enable lazy compilation (#974) 2022-01-20 18:40:13 +08:00
common Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
compilation Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
include Use LLVM new pass manager for wamrc (#978) 2022-01-24 11:10:37 +08:00
interpreter Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
libraries Fix __wasi_subscription_t inconsistent with wasi-libc issue (#964) 2022-01-17 20:52:45 +08:00
README.md Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00