This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Fix padding related bugs.
ClosedPublic

Authored by nicolasvasilache on Feb 8 2021, 7:28 AM.

Details

Summary

This revision fixes the fact that the padding transformation did not have enough information to set the proper type for the padding value.
Additionally, the verifier for Yield in the presence of PadTensorOp is fixed to properly report incorrect number of results or operands. Previously, the error would be silently ignored which made the core issue difficult to debug.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Feb 8 2021, 7:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2021, 7:28 AM
ftynse accepted this revision.Feb 8 2021, 7:29 AM
This revision is now accepted and ready to land.Feb 8 2021, 7:29 AM
This revision was automatically updated to reflect the committed changes.