[Mlir-commits] [mlir] [MLIR][Python] Use ir.Value directly instead of _SubClassValueT (PR #82341)

Sergei Lebedev llvmlistbot at llvm.org
Tue Feb 20 03:20:31 PST 2024


================
@@ -10,4 +10,4 @@ class _Globals:
     def _check_dialect_module_loaded(self, dialect_namespace: str) -> bool: ...
 
 def register_dialect(dialect_class: type) -> object: ...
-def register_operation(dialect_class: type) -> object: ...
----------------
superbobry wrote:

This is just a drive by change fixing a type error I discovered in `arith.py`.

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


More information about the Mlir-commits mailing list