This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] DynamicMemRefType: iteration and access by indices
ClosedPublic

Authored by mscuttari on Aug 7 2022, 9:37 AM.

Details

Summary

The methods to perform such operations have been implemented for the DynamicMemRefType in a way that is similar to the implementation for StridedMemRefType. Up until here one could pass an unranked memref to the library, and thus obtain a “dynamic” memref descriptor, but then there would have been no possibility to operate on its content.

Diff Detail

Event Timeline

mscuttari created this revision.Aug 7 2022, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2022, 9:37 AM
mscuttari requested review of this revision.Aug 7 2022, 9:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2022, 9:37 AM
mscuttari retitled this revision from DynamicMemRefType: iteration and access by indices to [MLIR] DynamicMemRefType: iteration and access by indices.Aug 7 2022, 9:44 AM
mscuttari updated this revision to Diff 451058.Aug 9 2022, 12:24 AM

Make StridedMemRefIterator and DynamicMemRefIterator trivially copiable

mehdi_amini accepted this revision.Aug 15 2022, 7:56 AM
This revision is now accepted and ready to land.Aug 15 2022, 7:56 AM
This comment was removed by mscuttari.
This revision was automatically updated to reflect the committed changes.
mscuttari reopened this revision.Aug 18 2022, 10:00 AM
This revision is now accepted and ready to land.Aug 18 2022, 10:00 AM

Removed wrong and useless explicit copy constructor from DynamicMemRefType

mscuttari closed this revision.Aug 18 2022, 12:36 PM

Closed by commit 8a10ee7590a91c9b2e5c80b52822a3a4c3af1a15
Forgot to add the review link this time :(