This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Remove duplicate tensor.pad lowering pattern
ClosedPublic

Authored by springerm on Jun 21 2023, 7:49 AM.

Details

Summary

There is another transform that lowers tensor.pad to tensor.empty + linalg.fill + tensor.insert_slice: transform.structured.rewrite_in_destination_passing_style. Delete the other transform.

Depends On: D153332

Diff Detail

Event Timeline

springerm created this revision.Jun 21 2023, 7:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2023, 7:49 AM
springerm requested review of this revision.Jun 21 2023, 7:49 AM
nicolasvasilache accepted this revision.Jun 22 2023, 2:24 AM
This revision is now accepted and ready to land.Jun 22 2023, 2:24 AM
mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp