[Mlir-commits] [mlir] [MLIR][XeGPU] Add anchor_layout and update propagation to honor user-specified layouts (PR #169267)
Charitha Saumya
llvmlistbot at llvm.org
Tue Nov 25 13:59:45 PST 2025
================
@@ -387,6 +387,8 @@ class LayoutInfoPropagation
ArrayRef<LayoutInfoLattice *> operands,
ArrayRef<const LayoutInfoLattice *> results);
+ bool hasParamsOfLayoutKind(xegpu::DistributeLayoutAttr anchorLayout);
----------------
charithaintc wrote:
nit: this method has nothing to do with layout propagation. I would move it to static method helper `hasParamsOfLayoutKind(xegpu::DistributeLayoutAttr anchorLayout, LayoutKind kind)` and keep the `LayoutInfoPropagation` clean.
https://github.com/llvm/llvm-project/pull/169267
More information about the Mlir-commits
mailing list