This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Make fusion on tensor rewriter friendly (NFC).
ClosedPublic

Authored by gysit on Sep 21 2021, 6:40 AM.

Details

Summary

Let the calling pass or pattern replace the uses of the original root operation. Internally, the tileAndFuse still replaces uses and updates operands but only of newly created operations.

Diff Detail

Event Timeline

gysit created this revision.Sep 21 2021, 6:40 AM
gysit requested review of this revision.Sep 21 2021, 6:40 AM
nicolasvasilache accepted this revision.Sep 27 2021, 2:51 AM
This revision is now accepted and ready to land.Sep 27 2021, 2:51 AM