This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fold linalg.pad_tensor if src type == result type
ClosedPublic

Authored by springerm on Jun 6 2021, 5:16 PM.

Details

Summary

Fold PadTensorOp to source if source type and result type have static shape and are equal.

Diff Detail

Event Timeline

springerm created this revision.Jun 6 2021, 5:16 PM
springerm requested review of this revision.Jun 6 2021, 5:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2021, 5:16 PM
nicolasvasilache accepted this revision.Jun 11 2021, 4:53 AM
This revision is now accepted and ready to land.Jun 11 2021, 4:53 AM