[Mlir-commits] [mlir] [MLIR][Python] Add python bindings for IRDL dialect (PR #158488)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 2 23:40:55 PDT 2025
PragmaTwice wrote:
> Do I have to use the generic op interface (is that API properly exposed even: this should be the Operation.create interface)?
Currently that's right. We need to use Operation.create (or Operation.parse) to construct these IRDL-defined operations. And yes, we can generate constructors for these IRDL-defined operations in a pythonic way. (This can be a TODO of IRDL python bindings/follow-up of this PR.)
https://github.com/llvm/llvm-project/pull/158488
More information about the Mlir-commits
mailing list