[Mlir-commits] [mlir] [mlir][python] meta region_op (PR #75673)

Maksim Levental llvmlistbot at llvm.org
Tue Dec 19 18:14:02 PST 2023


================
@@ -211,3 +211,7 @@ def __init__(
         if operands is None:
             operands = []
         super().__init__(_get_op_results_or_values(operands), loc=loc, ip=ip)
+
+
+def any_op_t():
----------------
makslevental wrote:

This is just this is just `transform.AnyOpType` but exposed [through their C extension module](https://github.com/llvm/llvm-project/blob/main/mlir/lib/Bindings/Python/DialectTransform.cpp#L29). None such getters are effectively type hinted except insofar as the generated stub goes (and that's not being done for the various (even upstream) dialect C extensions).

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


More information about the Mlir-commits mailing list