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

Sang Ik Lee llvmlistbot at llvm.org
Thu Jun 11 14:50:49 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
----------------
silee2 wrote:

Done

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


More information about the Mlir-commits mailing list