This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Clarify error message in YieldOp verification NFC
ClosedPublic

Authored by ubfx on Jun 16 2023, 5:05 AM.

Details

Summary

The number of values yielded from a LinalgOp's payload has to match
the number of inits / outs operands of the LinalgOp.
These two numbers got mixed up in the respective error message, this
patch clarifies the message and updates the tests.

Diff Detail

Event Timeline

ubfx created this revision.Jun 16 2023, 5:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2023, 5:05 AM
ubfx requested review of this revision.Jun 16 2023, 5:05 AM
This revision is now accepted and ready to land.Jul 31 2023, 11:04 AM
ubfx added a comment.Aug 1 2023, 6:08 AM

Thank you for reviewing, @nicolasvasilache @mehdi_amini . Could one of you commit it to the repository for me?