This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add one-shot-bufferize tests for Linalg ops: reduce, map and transpose.
ClosedPublic

Authored by olegshyshkov on Oct 21 2022, 1:50 AM.

Diff Detail

Event Timeline

olegshyshkov created this revision.Oct 21 2022, 1:50 AM
olegshyshkov requested review of this revision.Oct 21 2022, 1:50 AM
pifon2a accepted this revision.Oct 21 2022, 6:14 AM
pifon2a added inline comments.
mlir/test/Dialect/Linalg/one-shot-bufferize.mlir
350

so, if the pass did not bufferize these ops at all, the CHECKs would still match it. Maybe add a memref type somewhere, like in line 326?

This revision is now accepted and ready to land.Oct 21 2022, 6:14 AM

Update tests to check for memrefs.

olegshyshkov marked an inline comment as done.Oct 21 2022, 6:23 AM