[Mlir-commits] [mlir] Refactor LoopFuseSiblingOp and support parallel fusion (PR #94391)

Ivan Butygin llvmlistbot at llvm.org
Thu Jun 27 10:07:49 PDT 2024


================
@@ -545,25 +440,34 @@ transform::LoopFuseSiblingOp::apply(transform::TransformRewriter &rewriter,
            << "source handle (got " << llvm::range_size(sourceOps) << ")";
   }
 
-  Operation *target = *targetOps.begin();
-  Operation *source = *sourceOps.begin();
+  LoopLikeOpInterface target =
----------------
Hardcode84 wrote:

nit: you can use `auto` as you already have type spelled in cast

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


More information about the Mlir-commits mailing list