[Mlir-commits] [mlir] [MLIR][Python] Support Python-defined passes in MLIR (PR #156000)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Sep 8 09:53:54 PDT 2025
================
@@ -157,6 +159,45 @@ void mlir::python::populatePassManagerSubmodule(nb::module_ &m) {
"pipeline"_a,
"Add textual pipeline elements to the pass manager. Throws a "
"ValueError if the pipeline can't be parsed.")
+ .def(
+ "add_python_pass",
----------------
PragmaTwice wrote:
Looks good to me! Done in https://github.com/llvm/llvm-project/pull/156000/commits/46b833dfbe989d57b01f820ba02a7267da2ad0f0 : )
https://github.com/llvm/llvm-project/pull/156000
More information about the Mlir-commits
mailing list