This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fold TensorCast into PadTensorOp.
ClosedPublic

Authored by gysit on Jul 19 2021, 7:37 AM.

Details

Summary

Add pattern to fold a TensorCast into a PadTensorOp if the cast removes static size information.

Diff Detail

Event Timeline

gysit created this revision.Jul 19 2021, 7:37 AM
gysit requested review of this revision.Jul 19 2021, 7:37 AM
nicolasvasilache accepted this revision.Jul 19 2021, 8:23 AM
This revision is now accepted and ready to land.Jul 19 2021, 8:23 AM
This revision was automatically updated to reflect the committed changes.