[all-commits] [llvm/llvm-project] 640103: [mlir][MemRef][~NFC] Move getStridesAndOffset() on...
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Mon May 5 09:09:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 640103b91ac892cfbeeb614495698c321437b567
https://github.com/llvm/llvm-project/commit/640103b91ac892cfbeeb614495698c321437b567
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2025-05-05 (Mon, 05 May 2025)
Changed paths:
M mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
M mlir/include/mlir/IR/BuiltinAttributeInterfaces.td
M mlir/include/mlir/IR/BuiltinAttributes.td
M mlir/lib/IR/BuiltinAttributeInterfaces.cpp
M mlir/lib/IR/BuiltinAttributes.cpp
M mlir/lib/IR/BuiltinTypes.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list