[Mlir-commits] [mlir] [MLIR][Transform][Python] transform.foreach wrapper and .owner OpViews (PR #172228)

Rolf Morel llvmlistbot at llvm.org
Sun Dec 14 14:01:56 PST 2025


================
@@ -174,7 +174,7 @@ def add_fold(rewriter, results, values):
 
     def is_zero(value):
         op = value.owner
-        if isinstance(op, Operation):
+        if isinstance(op, OpView):
----------------
rolfmorel wrote:

Yep, that was it.

Also not sure why this an integration test.

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


More information about the Mlir-commits mailing list