Page MenuHomePhabricator

[mlir][Linalg] Make Linalg fusion a test pass

Authored by nicolasvasilache on Oct 29 2020, 7:04 AM.



Linalg "tile-and-fuse" is currently exposed as a Linalg pass "-linalg-fusion" but only the mechanics of the transformation are currently relevant.
Instead turn it into a "-test-linalg-greedy-fusion" pass which performs canonicalizations to enable more fusions to compose.
This allows dropping the OperationFolder which is not meant to be used with the pattern rewrite infrastructure.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Oct 29 2020, 7:04 AM
ftynse accepted this revision.Oct 29 2020, 7:17 AM
This revision is now accepted and ready to land.Oct 29 2020, 7:17 AM
pifon2a accepted this revision.Oct 29 2020, 7:33 AM
This revision was automatically updated to reflect the committed changes.