[Mlir-commits] [mlir] [MLIR][Python] Impl XOpInterface(s) from Python, with X=Transform and X=MemoryEffects (PR #176920)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jan 27 21:57:46 PST 2026


================
@@ -29,10 +29,14 @@
     "Dialect",
     "Operand",
     "Result",
+    "register_dialect",
+    "register_operation",
 ]
 
 Operand = ir.Value
 Result = ir.OpResult
+register_dialect = _cext.register_dialect
+register_operation = _cext.register_operation
----------------
PragmaTwice wrote:

Hmm maybe it's not good to let users call these directly. Maybe we can expose a method in Dialect class.

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


More information about the Mlir-commits mailing list