Page MenuHomePhabricator

[mlir][linalg] Add pad and hoist test pass.
ClosedPublic

Authored by gysit on Oct 25 2021, 12:24 AM.

Details

Summary

Adding a padding and hoisting pattern, a test pass, and tests. The patch prepares the split of tiling/fusion and padding.

Depends On D112255

Diff Detail

Event Timeline

gysit created this revision.Oct 25 2021, 12:24 AM
gysit requested review of this revision.Oct 25 2021, 12:24 AM
gysit updated this revision to Diff 381959.Oct 25 2021, 5:57 AM

Rename packing and hoisting flags.

gysit updated this revision to Diff 382083.Oct 25 2021, 12:32 PM

Adapt pading pattern to fail instead of assert if the op has not tensor semantics.

gysit updated this revision to Diff 383013.Oct 28 2021, 6:10 AM

Update the test to use a more meaningful double tiling.

nicolasvasilache accepted this revision.Oct 28 2021, 1:01 PM

should this just be added directly to lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp and hooked up to the codegenstrategy ?

This revision is now accepted and ready to land.Oct 28 2021, 1:01 PM
This revision was automatically updated to reflect the committed changes.