[Mlir-commits] [mlir] [mlir][linalg][transform][python] Drop _get_op_result... from mix-ins. (PR #65726)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Thu Sep 14 06:27:44 PDT 2023


================
@@ -204,9 +203,7 @@ class DecomposeOp:
     """Specialization for DecomposeOp class."""
 
     def __init__(self, target: Union[Operation, Value], *, loc=None, ip=None):
-        super().__init__(
-            pdl.OperationType.get(), _get_op_result_or_value(target), loc=loc, ip=ip
-        )
+        super().__init__(pdl.OperationType.get(), target, loc=loc, ip=ip)
----------------
ftynse wrote:

Not for this commit, but since we are in cleanup mode, can we replace all this pdl with `transform.any_op`?

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


More information about the Mlir-commits mailing list