This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Purge linalg.indexed_generic.
ClosedPublic

Authored by pifon2a on Jun 17 2021, 5:35 AM.

Details

Summary

This is just a clean-up after https://llvm.discourse.group/t/rfc-linalg-indexed-genericop-unification/3375 was implemented.

Now, if one needs to access ivs inside linalg.generic, it is possible to use %iv_dim = linalg.index <dim> : index operation in the body region.

Diff Detail

Event Timeline

pifon2a created this revision.Jun 17 2021, 5:35 AM
pifon2a requested review of this revision.Jun 17 2021, 5:35 AM
nicolasvasilache accepted this revision.Jun 17 2021, 5:42 AM
This revision is now accepted and ready to land.Jun 17 2021, 5:42 AM
This revision was landed with ongoing or failed builds.Jun 17 2021, 5:46 AM
This revision was automatically updated to reflect the committed changes.

@pifon2a Could I request adding a commit summary (even if one line) on what caused the change? (for eg., "Op dropped because of ...".) Changes like these shouldn't leave the commit summary empty I think - You could even just paste a link to a discourse thread if it was discussed there.

@bondhugula yes, makes sense. This is just a clean-up after https://llvm.discourse.group/t/rfc-linalg-indexed-genericop-unification/3375 was implemented.

Now, if you need to access ivs inside linalg.generic, you can just use %iv_dim = linalg.index <dim> : index operation in the body region.

pifon2a edited the summary of this revision. (Show Details)Jun 17 2021, 6:30 AM