llvm-project
04fc471f - [mlir][linalg] Switch to use OpOperand* in ControlPropagationFn. (#96697)

Commit
1 year ago
[mlir][linalg] Switch to use OpOperand* in ControlPropagationFn. (#96697) It's not easy to determine whether we want to propagate pack/unpack ops because we don't know the (producer, consumer) information. The revisions switch it to `OpOperand*`, so the control function can capture the (producer, consumer) pair. E.g., ``` Operation *producer = opOperand->get().getDefiningOp(); Operation *consumer = opOperand->getOwner(); ```
Author
Parents
Loading