This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Replace SimplePad with PadTensor in hoist-padding
ClosedPublic

Authored by hanchung on Jan 28 2021, 6:57 AM.

Details

Summary

This is the last revision to migrate using SimplePadOp to PadTensorOp, and the
SimplePadOp is removed in the patch. Update a bit in SliceAnalysis because the
PadTensorOp takes a region different from SimplePadOp. This is not covered by
LinalgOp because it is not a structured op.

Also, remove a duplicated comment from cpp file, which is already described in a
header file. And update the pseudo-mlir in the comment.

Diff Detail

Event Timeline

hanchung created this revision.Jan 28 2021, 6:57 AM
hanchung requested review of this revision.Jan 28 2021, 6:57 AM
nicolasvasilache accepted this revision.Jan 28 2021, 7:28 AM

Test complains, please fix before landing, thanks!

This revision is now accepted and ready to land.Jan 28 2021, 7:28 AM

Test complains, please fix before landing, thanks!

The failures are caused by other change, I rebase to main and they are passing!

This revision was landed with ongoing or failed builds.Jan 28 2021, 11:10 AM
This revision was automatically updated to reflect the committed changes.

Weird, it's passing on local side. I revert it and will try to repro and land it after fixing it.

hanchung reopened this revision.Jan 28 2021, 11:39 AM
This revision is now accepted and ready to land.Jan 28 2021, 11:39 AM
hanchung closed this revision.Jan 28 2021, 11:41 AM