[Mlir-commits] [mlir] [MLIR][XeGPU] Add 2D `vector.multi_reduction` optimization (PR #171154)
Artem Kroviakov
llvmlistbot at llvm.org
Thu Dec 18 09:36:53 PST 2025
================
@@ -698,9 +706,12 @@ def XeGPU_SliceAttr : XeGPUAttr<"Slice", "slice", [DistributeLayoutAttr]> {
/// Check if this is slice of some other layout.
bool isSliceOf(const xegpu::DistributeLayoutAttr &other);
-
+
+ /// Drop the slice dims to get the original layout.
+ xegpu::DistributeLayoutAttr dropSliceDims(ArrayRef<int64_t> dimsToDrop);
----------------
akroviakov wrote:
I see, it looks like more of a attribute's method, rather than an interface. Fixed.
https://github.com/llvm/llvm-project/pull/171154
More information about the Mlir-commits
mailing list