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

Mehdi Amini llvmlistbot at llvm.org
Mon Sep 8 06:12:04 PDT 2025


joker-eph wrote:

> Preserve where? 

Preserve in the concept of what is a "pass" in the context of MLIR.

> PassRegistry is not bound in Python 

What do you mean? We can't parse a pass pipeline in python?

> My point is these two things are independent - we can land this PR and then also work on binding PassRegistry in order to support what you want.

I don't quite follow your point, can we create passes in python today? If not then we're adding the way to create passes, and my point is that "create a pass" comes with expectations in the context of MLIR.

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


More information about the Mlir-commits mailing list