This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Simplify the hoist padding tests.
ClosedPublic

Authored by gysit on Nov 25 2021, 11:02 AM.

Details

Summary

Use primarily matvec instead of matmul to test hoist padding. Test the hoisting only starting from already padded IR. Use one-dimensional tiling only except for the tile_and_fuse test that exercises hoisting on a larger loop nest with fill and pad tensor operations in the backward slice.

Diff Detail

Event Timeline

gysit created this revision.Nov 25 2021, 11:02 AM
gysit requested review of this revision.Nov 25 2021, 11:02 AM

Nice simplification, thanks!

This revision is now accepted and ready to land.Nov 25 2021, 12:22 PM
This revision was automatically updated to reflect the committed changes.
mlir/test/Dialect/Linalg/hoist-padding.mlir