This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Tiling] Properly reject "buffer semantic" operations
ClosedPublic

Authored by qcolombet on Feb 8 2023, 12:34 AM.

Details

Summary

Our tiling implementation assumes a "tensor semantic" for the operation to
be tiled.
Prior to this patch, if we provide a tile-able op with "buffer semantic", we
will assert instead of gracefully reject the input.

This patch turns the assert in a proper error.

Diff Detail

Event Timeline

qcolombet created this revision.Feb 8 2023, 12:34 AM
qcolombet requested review of this revision.Feb 8 2023, 12:34 AM
nicolasvasilache accepted this revision.Feb 8 2023, 12:41 AM

thank you!

This revision is now accepted and ready to land.Feb 8 2023, 12:41 AM