This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] NFC: Refactor LinalgDependenceGraphElem to allow representing dependence from producer result to consumer.
ClosedPublic

Authored by mravishankar on Jan 21 2021, 11:49 PM.

Details

Summary

With Linalg on tensors the dependence between operations can be from
the result of the producer to the consumer. This change just does a
NFC refactoring of the LinalgDependenceGraphElem to allow representing
both OpResult and OpOperand*.

Diff Detail

Event Timeline

mravishankar created this revision.Jan 21 2021, 11:49 PM
mravishankar requested review of this revision.Jan 21 2021, 11:49 PM
This revision is now accepted and ready to land.Jan 21 2021, 11:55 PM