This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][transform] Return copy_back op from PadOp.
ClosedPublic

Authored by ingomueller-net on Aug 29 2023, 5:59 AM.

Details

Summary

This patch makes the transform.structured.pad op return also a handle
to the copy op that it inserts. This allows to continue transformation
on that op, such as mapping it to a GPU thread.

The patch was mainly authored by @springerm as part of the WIP patch
https://reviews.llvm.org/D156371, which also has an example usage of
this change.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2023, 5:59 AM
ingomueller-net requested review of this revision.Aug 29 2023, 5:59 AM
nicolasvasilache accepted this revision.Aug 29 2023, 6:06 AM
This revision is now accepted and ready to land.Aug 29 2023, 6:06 AM
  • Fix mix-in by adding default type for new result value.