This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tiling] Relax tiling to accept generating multiple operations.
ClosedPublic

Authored by hanchung on Nov 2 2022, 4:25 PM.

Details

Summary

Some operations need to generate multiple operations when implementing
the tiling interface. Here is a sound example in IREE, see
https://github.com/iree-org/iree/pull/10905 for more details.

Diff Detail

Event Timeline

hanchung created this revision.Nov 2 2022, 4:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2022, 4:25 PM
hanchung requested review of this revision.Nov 2 2022, 4:25 PM
hanchung updated this revision to Diff 472806.Nov 2 2022, 4:42 PM

delete debug code

mravishankar requested changes to this revision.Nov 4 2022, 12:44 PM
mravishankar added inline comments.
mlir/include/mlir/Dialect/SCF/Transforms/TileUsingInterface.h
65–68

Could you add a comment regarding what the ordering of operations here are expected to be. Long term I think we should just return SmallVector<Value>s here.

This revision now requires changes to proceed.Nov 4 2022, 12:44 PM
hanchung updated this revision to Diff 473327.Nov 4 2022, 1:16 PM

add comments

hanchung marked an inline comment as done.Nov 4 2022, 1:16 PM
mravishankar accepted this revision.Nov 4 2022, 1:16 PM
This revision is now accepted and ready to land.Nov 4 2022, 1:16 PM