Skip to content

Commit fc8f465

Browse files
[mlir][MemRef] Allow transposed layouts in ExpandShapeOp.
https://reviews.llvm.org/D122641 introduced fixes to the ExpandShapeOp verifier but also introduced an artificial layout limitation that prevents the consideration of transposed layouts. This revision fixes the omissions and reimplements the logic using saturated arithmetic which is more idiomatic and avoids leaking internal implementation details. Tests cases are added for transposed layouts. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D122845
1 parent 9e97b2a commit fc8f465

File tree

4 files changed

+171
-198
lines changed

4 files changed

+171
-198
lines changed

0 commit comments

Comments
 (0)