This is an archive of the discontinued LLVM Phabricator instance.

[Transform] Support more case for the transform pad operation
ClosedPublic

Authored by qcolombet on May 8 2023, 5:27 AM.

Details

Summary

Don't choke on outs arguments that are not produced by tensor.empty or
tensor.extract_slice.

When the outs argument has a static shape we have all the necessary
information to proceed with the padding.

This makes the transform.structured.pad a little bit more resilient.

Diff Detail

Event Timeline

qcolombet created this revision.May 8 2023, 5:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 8 2023, 5:27 AM
qcolombet requested review of this revision.May 8 2023, 5:27 AM
This revision is now accepted and ready to land.May 8 2023, 5:55 AM