Files
clang-p2996/mlir/lib/IR/BuiltinAttributes.cpp
Krzysztof Drewniak 640103b91a [mlir][MemRef][~NFC] Move getStridesAndOffset() onto layouts (#138011)
This commit refactors the getStridesAndOffet() method on MemRefType to
just call `MemRefLayoutAttrInterface::getStridesAndOffset(shape,
strides& offset&)`, allowing downstream users and future layouts (ex, a
potential contiguous layout) to implement it without needing to patch
BuiltinTypes or without needing them to conform their affine maps to the
canonical strided form.
2025-05-05 09:09:32 -07:00

71 KiB