[llvm] [CodeGen] Port WasmEHPrepare to new pass manager (PR #74435)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 16:46:05 PST 2023


================
@@ -88,10 +89,12 @@
 
 using namespace llvm;
 
-#define DEBUG_TYPE "wasmehprepare"
+#define DEBUG_TYPE "wasm-eh-prepare"
 
 namespace {
-class WasmEHPrepare : public FunctionPass {
+class WasmEHPrepareImpl {
----------------
paperchalice wrote:

Sadly, there is no particular porting guide. If we can remove the legacy pass entirely in future, we can merge `WasmEHPrepareImpl` and `WasmEHPreparePass`.

https://github.com/llvm/llvm-project/pull/74435


More information about the llvm-commits mailing list