This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Support padding LinalgOps in use-def chain.
ClosedPublic

Authored by gysit on Mar 21 2022, 1:44 AM.

Details

Summary

Previously, only LinalgOps whose operands are defined by an ExtractSliceOp could be padded. The revision supports walking a use-def chain of LinalgOps to find an ExtractSliceOp.

Diff Detail

Event Timeline

gysit created this revision.Mar 21 2022, 1:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2022, 1:44 AM
gysit requested review of this revision.Mar 21 2022, 1:44 AM
gysit added a subscriber: hanchung.

@hanchung, as discussed offline, this revsion implements the functionality of https://reviews.llvm.org/D119390 with a slightly different testing approach.

hanchung accepted this revision.Mar 23 2022, 8:01 PM
This revision is now accepted and ready to land.Mar 23 2022, 8:01 PM
gysit updated this revision to Diff 417866.Mar 24 2022, 3:15 AM

Rebase.

This revision was automatically updated to reflect the committed changes.