This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Linalg] Make detensoring cost-model more flexible.
ClosedPublic

Authored by ergawy on Sep 17 2021, 8:00 AM.

Details

Summary

So far, the CF cost-model for detensoring was limited to discovering
pure CF structures. This means, if while discovering the CF component,
the cost-model found any op that is not detensorable, it gives up on
detensoring altogether. This patch makes it a bit more flexible by
cleaning-up the detensorable component from non-detensorable ops without
giving up entirely.

Diff Detail

Event Timeline

ergawy created this revision.Sep 17 2021, 8:00 AM
ergawy requested review of this revision.Sep 17 2021, 8:00 AM
silvas accepted this revision.Sep 17 2021, 9:58 AM
This revision is now accepted and ready to land.Sep 17 2021, 9:58 AM
This revision was automatically updated to reflect the committed changes.