This is an archive of the discontinued LLVM Phabricator instance.

[mlir][MemRef] Return `0` for the canonical strided layout expr of a 0d memref
ClosedPublic

Authored by bkramer on May 2 2022, 12:25 PM.

Details

Summary

There can't be any strides, and the offset for the canonical expr is
always 0. Fixes #55229.

Diff Detail

Event Timeline

bkramer created this revision.May 2 2022, 12:25 PM
Herald added a project: Restricted Project. · View Herald Transcript
bkramer requested review of this revision.May 2 2022, 12:25 PM
ftynse accepted this revision.May 3 2022, 1:41 AM
This revision is now accepted and ready to land.May 3 2022, 1:41 AM
This revision was landed with ongoing or failed builds.May 3 2022, 2:02 AM
This revision was automatically updated to reflect the committed changes.