[Mlir-commits] [mlir] [MLIR][XeGPU] Use the `setupDpasLayout` utility for dpas layout propagation (PR #180937)

Jianhui Li llvmlistbot at llvm.org
Wed Feb 11 21:20:42 PST 2026


================
@@ -161,6 +161,14 @@ DistributeLayoutAttr setupStoreMatrixAnchorLayout(LayoutKind layoutKind,
                                                   VectorType vectorTy,
                                                   const uArch::uArch *uArch);
 
+/// Sets up the anchor layouts for a dpas operands (A, B, and C/D).
+/// The numSg and consumerLayout (optional) are only used by sg layout creation.
----------------
Jianhui-Li wrote:

Inst and Lane layout are uArch specific and not influenced by consumer layout. 
WG layout has multiple choices so it is better to align layout with consumer. 

https://github.com/llvm/llvm-project/pull/180937


More information about the Mlir-commits mailing list