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

Maksim Levental llvmlistbot at llvm.org
Mon Sep 1 19:43:33 PDT 2025


================
@@ -139,4 +139,5 @@ NB_MODULE(_mlir, m) {
   auto passModule =
       m.def_submodule("passmanager", "MLIR Pass Management Bindings");
   populatePassManagerSubmodule(passModule);
+  populatePassSubmodule(passModule);
----------------
makslevental wrote:

I think putting a trailing underscore in a namespace is a little awkward. How about `mlir.passes`? or `mlir.passinfra`? or I dunno something like that that I'm failing to come up with right now...

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


More information about the Mlir-commits mailing list