This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref] Add some missing interfaces to memref ops.
ClosedPublic

Authored by Hardcode84 on Jun 23 2023, 10:44 AM.

Details

Summary

Add ViewLikeOpInterface, to ExtractStridedMetadataOp as it returns its buffer as one of the results.
Add mem Read/write attributes to atomic ops.

Diff Detail

Event Timeline

Hardcode84 created this revision.Jun 23 2023, 10:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2023, 10:44 AM
Hardcode84 requested review of this revision.Jun 23 2023, 10:44 AM
chelini accepted this revision.Jun 28 2023, 8:44 AM
This revision is now accepted and ready to land.Jun 28 2023, 8:44 AM
chelini added inline comments.Jun 28 2023, 8:55 AM
mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
1022

nit: Can you please add some docs here, for example: "the reference to read from and write to".

2256

same here pls.

rebase, fix review comments

Hardcode84 marked 2 inline comments as done.Jun 29 2023, 5:18 AM