[Mlir-commits] [mlir] [MLIR][XeGPU] Remove offsets from create_nd_tdesc & remove update_nd_offset, move offsets to load/store/prefetch ops (PR #193330)
Jianhui Li
llvmlistbot at llvm.org
Thu Apr 23 14:46:56 PDT 2026
================
@@ -1,246 +0,0 @@
-// RUN: mlir-opt --xegpu-wg-to-sg-distribute -split-input-file %s | FileCheck %s
-
-gpu.module @test_distribution {
- // CHECK-LABEL: create_nd_tdesc_no_offset
- // CHECK-SAME: %[[ARG_0:.*]]: memref<256x128xf32>
- gpu.func @create_nd_tdesc_no_offset(%src: memref<256x128xf32>) {
- // CHECK-COUNT-4: xegpu.create_nd_tdesc %[[ARG_0]] : memref<256x128xf32>
- // CHECK-SAME: -> !xegpu.tensor_desc<16x16xf32, #xegpu.layout<lane_layout = [1, 16], lane_data = [1, 1]>>
- // CHECK-NOT: xegpu.create_nd_tdesc
- %tdesc = xegpu.create_nd_tdesc %src: memref<256x128xf32>
- -> !xegpu.tensor_desc<256x128xf32, #xegpu.layout<sg_layout = [8, 4], sg_data = [16, 16], lane_layout = [1, 16], lane_data = [1, 1]>>
- gpu.return
- }
-
- // CHECK-LABEL: load_nd_tdesc_with_offset
- gpu.func @load_nd_tdesc_with_offset(%src: memref<256x128xf32>) {
----------------
Jianhui-Li wrote:
why this test is removed?
https://github.com/llvm/llvm-project/pull/193330
More information about the Mlir-commits
mailing list