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

Igor Zamyatin llvmlistbot at llvm.org
Wed Feb 11 09:43:16 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.
----------------
Garra1980 wrote:

Can you please elaborate a bit why consumerLayout used only in one case and not for others?

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


More information about the Mlir-commits mailing list