This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tensor] Fix a bug in tiling unpack op.
ClosedPublic

Authored by hanchung on Feb 13 2023, 9:06 PM.

Details

Summary

The inner tiling sizes could be dynamic (which are Values). In this
context, they should be added to tiledOperand when cloning the op.

Diff Detail

Event Timeline

hanchung created this revision.Feb 13 2023, 9:06 PM
hanchung requested review of this revision.Feb 13 2023, 9:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2023, 9:06 PM
hanchung updated this revision to Diff 497193.Feb 13 2023, 9:10 PM

fix clone method

Do we have a test case to exercise this code path?

Do we have a test case to exercise this code path?

We tested it with transform dialect, I'm familiar about how to pass a dynamic value to tiling sizes. Let me do some research about it.

hanchung updated this revision to Diff 497380.Feb 14 2023, 10:22 AM

add a test

chelini accepted this revision.Feb 14 2023, 11:06 PM

Thanks.

This revision is now accepted and ready to land.Feb 14 2023, 11:06 PM
This revision was automatically updated to reflect the committed changes.