[Mlir-commits] [mlir] [mlir][linalg] Add producer and consumer info to ControlPropagationFn. (PR #96697)

Han-Chung Wang llvmlistbot at llvm.org
Wed Jun 26 14:21:58 PDT 2024


hanhanW wrote:

> I have found it convenient to just use `OpOperand*` . That way the caller doesn't have to pass producer, consumer explicitly

I don't follow how it works with a single `OpOperand*`. Can you elaborate a little more? In the data layout propagation case, there could be `(pack, reshape)`, `(reshape, pack)`, `(generic, pack)`, `(pack, generic)`, etc. I don't follow how to distinguish `(pack, reshape)` and `(reshape, pack)` cases in the approach.

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


More information about the Mlir-commits mailing list