[Mlir-commits] [mlir] [mlir][python] meta region_op (PR #75673)
Maksim Levental
llvmlistbot at llvm.org
Wed Dec 20 15:31:17 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:
just double checking I did this right:
```python
AnyOpTypeT = NewType("AnyOpType", AnyOpType)
def any_op_t() -> AnyOpTypeT:
return AnyOpTypeT(AnyOpType.get())
```
https://github.com/llvm/llvm-project/pull/75673
More information about the Mlir-commits
mailing list