This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fix tiling interface implementation offset calculation
ClosedPublic

Authored by ThomasRaoux on Aug 18 2022, 3:44 PM.

Details

Summary

The tiling interface implementation was making assumption on the code
generated by makeTiledShape which were wrong. The ExtractSliceOp create
may be combined with other ExtractSliceOp. To solve that we compute
directly the offset using the new utilities.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Aug 18 2022, 3:44 PM
ThomasRaoux requested review of this revision.Aug 18 2022, 3:44 PM
mravishankar accepted this revision.Aug 18 2022, 3:53 PM

Nice! Thanks!

This revision is now accepted and ready to land.Aug 18 2022, 3:53 PM