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.
Paths
| Differential D85541
[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:
This is not quite NFC: index types are now allowed in unranked memrefs.
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptAug 7 2020, 11:43 AM This revision is now accepted and ready to land.Aug 7 2020, 11:50 AM Closed by commit rGb0d76f454daa: [mlir] Centralize handling of memref element types. (authored by silvas). · Explain WhyAug 7 2020, 3:24 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 283968 mlir/include/mlir/IR/StandardTypes.h
mlir/lib/IR/StandardTypes.cpp
mlir/test/IR/invalid.mlir
mlir/test/IR/parser.mlir
|