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

Ivan Butygin llvmlistbot at llvm.org
Tue Jun 4 18:00:30 PDT 2024


Hardcode84 wrote:

> so should I move `isSibling` to some library and use for both?

Not all the checks in `isSibling` are needed for `ParallelLoopFusion.cpp` as algorithm there guarantees they will be always two separate ops with predefined order. I think, for now you can use `isSibling` for the transform and keep a simpler version in `ParallelLoopFusion.cpp` as static function.

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


More information about the Mlir-commits mailing list