This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Change linalg.broadcast `dimensions` attribute to represent added dimensions.
ClosedPublic

Authored by olegshyshkov on Nov 21 2022, 1:49 AM.

Details

Summary

Original RFC defined dimensions as a map from input to init, but a discussion in D138291 concluded that it's more natural for dimensions to represent added dims. Also this way is more consistent with linalg.reduce.

Diff Detail

Event Timeline

olegshyshkov created this revision.Nov 21 2022, 1:49 AM
olegshyshkov requested review of this revision.Nov 21 2022, 1:49 AM
olegshyshkov edited the summary of this revision. (Show Details)Nov 21 2022, 1:50 AM
olegshyshkov edited the summary of this revision. (Show Details)
pifon2a accepted this revision.Nov 21 2022, 1:52 AM

Thank you, Oleg!

This revision is now accepted and ready to land.Nov 21 2022, 1:52 AM

Fix tiling test.

This revision was landed with ongoing or failed builds.Nov 21 2022, 4:17 AM
This revision was automatically updated to reflect the committed changes.