This is an archive of the discontinued LLVM Phabricator instance.

[mlir] switch bufferization to use strided layout attribute
ClosedPublic

Authored by ftynse on Sep 15 2022, 9:32 AM.

Details

Summary

Bufferization already makes the assumption that buffers pass function
boundaries in the strided form and uses the corresponding affine map layouts.
Switch it to use the recently introduced strided layout instead to avoid
unnecessary casts when bufferizing further operations to the memref dialect
counterparts that now largely rely on the strided layout attribute.

Depends On D133947

Diff Detail

Event Timeline

ftynse created this revision.Sep 15 2022, 9:32 AM
ftynse requested review of this revision.Sep 15 2022, 9:32 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Sep 15 2022, 2:31 PM
This revision was landed with ongoing or failed builds.Sep 16 2022, 1:57 AM
This revision was automatically updated to reflect the committed changes.