This is an archive of the discontinued LLVM Phabricator instance.

DestinationPassingStyle: allow additional non-tensor results
ClosedPublic

Authored by Benoit on May 11 2023, 8:46 AM.

Details

Summary

Also some simplifications:

  • outputBufferOperands was unused.
  • The condition that the number of operands equals the number of inputs plus the number of inits seemed vacuously true (?).

Diff Detail

Event Timeline

Benoit created this revision.May 11 2023, 8:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2023, 8:46 AM
Benoit requested review of this revision.May 11 2023, 8:46 AM
Benoit updated this revision to Diff 521334.May 11 2023, 8:48 AM

update error message string.

positive and negative test updates please

@nicolasvasilache please point to the tests that should be updated? I couldn't find them under test/Interfaces ?

Actually I can see that CI reports failures in test/Dialect/Linalg/invalid.mlir . I dont know why this didn't happen when I ran check-mlir locally.

Benoit updated this revision to Diff 521386.May 11 2023, 11:29 AM

Add a new DPS op test. Update Linalg invalid.mlir. Fix error message.

mravishankar accepted this revision.May 11 2023, 2:20 PM

Looks good to me. Thanks!

This revision is now accepted and ready to land.May 11 2023, 2:20 PM