[Mlir-commits] [mlir] [MLIR][XeGPU] Fix expandDim sg_data cap for replicated layouts (PR #203299)

Jianhui Li llvmlistbot at llvm.org
Thu Jun 11 12:06:36 PDT 2026


================
@@ -752,10 +758,13 @@ DistributeLayoutAttr LayoutAttr::expandDim(int64_t dim,
     splice(sgLayout, expSgLayout);
   }
   if (hasSgData) {
+    // Cap by the full extent targetShape[i], not the per-sg share
----------------
Jianhui-Li wrote:

Avoid excessive comment please. Also for the test. 

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


More information about the Mlir-commits mailing list