[Mlir-commits] [mlir] [mlir][xegpu] Remove chunk_size attribute; infer from types (PR #205122)

Jianhui Li llvmlistbot at llvm.org
Wed Sep 2 15:58:29 PDT 2026


================
@@ -1268,14 +1267,12 @@ void LayoutInfoPropagation::visitLoadGatherOp(
       return;
     }
     requiredAnchorLayoutAttr = xegpu::setupLoadGatherAnchorLayout(
-        layoutKind, resVecTy, chunkSize, consumerLayoutAttr, uArch);
+        layoutKind, resVecTy, consumerLayoutAttr, uArch);
----------------
Jianhui-Li wrote:

Please don't remove this parameter: chunkSize. 
instead, please getContiguity() and pass it to express the allowable chunkSize based on contiguity analysis. 

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


More information about the Mlir-commits mailing list