[Mlir-commits] [mlir] [MLIR][XeGPU] Update layout for simple_mxfp_gemm_dequantizeB_F4.mlir (PR #203636)

Jianhui Li llvmlistbot at llvm.org
Fri Jun 12 20:20:04 PDT 2026


================
@@ -8,9 +8,9 @@
 
 // XFAIL: *
 // Note: layouts used by dpas_mx need to match HW constaint. Otherwise dpas_mx is not unrolled.
-#a = #xegpu.layout<sg_layout = [2, 2], sg_data = [16, 1024], inst_data = [8, 64], lane_layout = [1, 16], lane_data = [1, 1]>
-#b_packed = #xegpu.layout<sg_layout = [2, 2], sg_data = [512, 16], inst_data = [32, 16], lane_layout = [1, 16], lane_data = [4, 1]>
-#b = #xegpu.layout<sg_layout = [2, 2], sg_data = [1024, 16], inst_data = [64, 16], lane_layout = [1, 16], lane_data = [8, 1]>
+#a = #xegpu.layout<sg_layout = [2, 2], sg_data = [16, 1024], inst_data = [8, 16], lane_layout = [1, 16], lane_data = [1, 1]>
----------------
Jianhui-Li wrote:

What is the motivation of lowering the inst_data size for A? and other two changes?

I think the size looks fine, but the lane_data needs to be changed from [1, 1] to [1, 4]
>#a = #xegpu.layout<sg_layout = [2, 2], sg_data = [16, 1024], inst_data = [8, 64], lane_layout = [1, 16], lane_data = [1, 1]>
=> 
>#a = #xegpu.layout<sg_layout = [2, 2], sg_data = [16, 1024], inst_data = [8, 64], lane_layout = [1, 16], lane_data = [1, 4]>


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


More information about the Mlir-commits mailing list