Page MenuHomePhabricator

[mlir][Linalg] Add some depedence query methods to LinalgDependenceGraph.

Authored by mravishankar on Oct 7 2020, 11:25 AM.



The methods allow to check

  • if an operation has dependencies,
  • if there is a dependence from one operation to another.

Diff Detail

Event Timeline

mravishankar created this revision.Oct 7 2020, 11:25 AM
mravishankar requested review of this revision.Oct 7 2020, 11:25 AM
nicolasvasilache accepted this revision.Oct 7 2020, 11:58 AM
nicolasvasilache added inline comments.

auto + 1 liner + drop spurious braces?

This revision is now accepted and ready to land.Oct 7 2020, 11:58 AM
mravishankar added inline comments.Oct 8 2020, 10:03 AM

Will add auto, but the for has an if within it. I think the convention is to keep braces for the for.

This revision was landed with ongoing or failed builds.Oct 8 2020, 10:29 AM
This revision was automatically updated to reflect the committed changes.