This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref] Extract isStaticShapeAndContiguousRowMajor as a util function.
ClosedPublic

Authored by olegshyshkov on May 15 2023, 12:53 AM.

Diff Detail

Event Timeline

olegshyshkov created this revision.May 15 2023, 12:53 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
olegshyshkov requested review of this revision.May 15 2023, 12:53 AM
ftynse accepted this revision.May 15 2023, 3:50 AM
ftynse added inline comments.
mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
19

MLIR/LLVM prefers to forward-declare classes that only appear as function arguments instead of transitively including (large) headers.

24–25

Nit: top-level entities use /// in MLIR.

This revision is now accepted and ready to land.May 15 2023, 3:50 AM

Fixes from comments.

olegshyshkov marked 2 inline comments as done.May 15 2023, 6:44 AM

Thank you!

This revision was landed with ongoing or failed builds.May 15 2023, 8:09 AM
This revision was automatically updated to reflect the committed changes.