[Mlir-commits] [mlir] [mlir][XeGPU] add WgToSg distribution pattern for load_matrix and store_matrix. (PR #154403)
Nishant Patel
llvmlistbot at llvm.org
Tue Aug 19 13:55:52 PDT 2025
================
@@ -372,4 +376,72 @@ gpu.func @dpas_no_sg_data(%a: memref<128x128xf16>, %b: memref<128x128xf16>) {
%cst = arith.constant {layout_result_0 = #xegpu.layout<sg_layout = [8, 4], sg_data = [32, 32]>} dense<1.0> : vector<256x128xf32>
gpu.return
}
+
+ // CHECK-LABEL: distribute_load_matrix
+ // CHECK-SAME: [[arg0:%.+]]: memref<32768xi8, 3>
+ gpu.func @distribute_load_matrix(%arg0: memref<32768xi8, 3>) {
----------------
nbpatel wrote:
please move the tests to xegpu-wg-to-sg-unify-ops.mlir and xegpu-wg-to-sg-unify-ops-rr.mlir as they are ones that have tests with new versions of create_nd/load_nd/store_nd..... this file will be deleted in the future once we move away from create_nd with offsets
https://github.com/llvm/llvm-project/pull/154403
More information about the Mlir-commits
mailing list