[Mlir-commits] [mlir] [MLIR][Python] Support Python-defined passes in MLIR (PR #156000)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Sep 1 23:29:29 PDT 2025


================
@@ -11,7 +11,9 @@
 #include "IRModule.h"
 #include "mlir-c/Pass.h"
 #include "mlir/Bindings/Python/Nanobind.h"
+
 #include "mlir-c/Bindings/Python/Interop.h" // This is expected after nanobind.
+#include "nanobind/trampoline.h"
----------------
PragmaTwice wrote:

Ahhh thank you for your suggestion. It is done in https://github.com/llvm/llvm-project/pull/156000/commits/c8c2faeb61ffe22fd7b60e6669bde604b7931940.

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


More information about the Mlir-commits mailing list