@@ -67,7 +67,7 @@ gpu.func @test_create_nd_tdesc_7(%src: ui64, %w : index, %h : index, %x : index,
6767 //CHECK: %[[C:.*]] = arith.constant 1 : index
6868 %c1 = arith.constant 1 : index
6969
70- // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %[[arg5]] : memref<24x32xf32> -> !xegpu.tensor_desc<8x16xf32>
70+ // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %[[arg5]][0, 0] : memref<24x32xf32> -> !xegpu.tensor_desc<8x16xf32>
7171 %3 = xegpu.create_nd_tdesc %src2 : memref <24 x32 xf32 > -> !xegpu.tensor_desc <8 x16 xf32 >
7272
7373 gpu.return
@@ -77,7 +77,7 @@ gpu.func @test_create_nd_tdesc_7(%src: ui64, %w : index, %h : index, %x : index,
7777gpu.func @test_create_nd_tdesc_8 (%src: ui64 , %w : index , %h : index , %x : index , %y : index ) {
7878
7979 %c1 = arith.constant 1 : index
80- // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %arg0, shape : [%arg2, %arg1], strides : [%arg1, %c1] : ui64 -> !xegpu.tensor_desc<8x16xf32>
80+ // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %arg0[0, 0] , shape : [%arg2, %arg1], strides : [%arg1, %c1] : ui64 -> !xegpu.tensor_desc<8x16xf32>
8181 %2 = xegpu.create_nd_tdesc %src , shape : [%h , %w ], strides : [%w , %c1 ] : ui64 -> !xegpu.tensor_desc <8 x16 xf32 >
8282
8383 gpu.return
@@ -97,7 +97,7 @@ gpu.func @test_create_nd_tdesc_9(%src: memref<?x?xf16>, %w : index, %h : index,
9797// CHECK-LABEL: func @test_create_nd_tdesc_10({{.*}})
9898gpu.func @test_create_nd_tdesc_10 (%src: memref <?x?xf16 >, %w : index , %h : index , %x : index , %y : index ) {
9999 %c1 = arith.constant 1 : index
100- // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %arg0, shape : [%arg2, %arg1], strides : [%arg1, %c1] : memref<?x?xf16> -> !xegpu.tensor_desc<8x16xf16>
100+ // CHECK: %[[REG:.*]] = xegpu.create_nd_tdesc %arg0[0, 0] , shape : [%arg2, %arg1], strides : [%arg1, %c1] : memref<?x?xf16> -> !xegpu.tensor_desc<8x16xf16>
101101 %2 = xegpu.create_nd_tdesc %src , shape :[%h , %w ], strides :[%w , %c1 ] : memref <?x?xf16 > -> !xegpu.tensor_desc <8 x16 xf16 >
102102
103103 gpu.return
0 commit comments