This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Centralize handling of memref element types.
ClosedPublic

Authored by silvas on Aug 7 2020, 11:43 AM.

Details

Summary

This also beefs up the test coverage:

  • Make unranked memref testing consistent with ranked memrefs.
  • Add testing for the invalid element type cases.

This is not quite NFC: index types are now allowed in unranked memrefs.

Diff Detail

Event Timeline

silvas created this revision.Aug 7 2020, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2020, 11:43 AM
silvas requested review of this revision.Aug 7 2020, 11:43 AM
rriddle accepted this revision.Aug 7 2020, 11:50 AM
This revision is now accepted and ready to land.Aug 7 2020, 11:50 AM
This revision was automatically updated to reflect the committed changes.