This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add side effects interface for Linalg ops
ClosedPublic

Authored by nicolasvasilache on Nov 4 2020, 6:28 AM.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Nov 4 2020, 6:28 AM
bkramer accepted this revision.Nov 4 2020, 6:42 AM

looks good

This revision is now accepted and ready to land.Nov 4 2020, 6:42 AM
mehdi_amini added inline comments.Nov 4 2020, 2:38 PM
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
1098

Effects can be annotated directly in ODS on each argument, it does not work for you here?

Add to linalg.generic and fix the necessary tests.

mehdi_amini added inline comments.Nov 5 2020, 11:51 AM
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
1098

(I think you missed my question here)

yes I did sorry, will address tomorrow ..