@@ -282,15 +282,20 @@ gpu.module @test_distribution {
282282 // CHECK-LABEL: @store_scatter
283283 // CHECK-SAME: %[[ARG0:.*]]: memref<256xf16>
284284 gpu.func @store_scatter (%dest : memref <256 xf16 >) {
285- // CHECK: %[[VAL:.*]] = arith.constant dense<2.550000e+01> : vector<8xf16>
286- // CHECK: %[[CST:.*]] = arith.constant dense<0> : vector<8xindex>
287- // CHECK: %[[MASK:.*]] = arith.constant dense<true> : vector<8xi1>
285+ // CHECK: %[[VAL:.*]] = arith.constant {layout_result_0 = #xegpu.layout<inst_data = [8]>} dense<2.550000e+01> : vector<8xf16>
286+ // CHECK: %[[CST:.*]] = arith.constant {layout_result_0 = #xegpu.layout<inst_data = [8]>} dense<0> : vector<8xindex>
287+ // CHECK: %[[MASK:.*]] = arith.constant {layout_result_0 = #xegpu.layout<inst_data = [8]>} dense<true> : vector<8xi1>
288288 // CHECK: xegpu.store %[[VAL]], %[[ARG0]][%[[CST]]], %[[MASK]] <{chunk_size = 1 : i64, l1_hint = #xegpu.cache_hint<cached>}>
289+ // CHECK-SAME: {layout_operand_0 = #xegpu.layout<inst_data = [8]>, layout_operand_2 = #xegpu.layout<inst_data = [8]>,
290+ // CHECK-SAME: layout_operand_3 = #xegpu.layout<inst_data = [8]>}
289291 // CHECK-SAME: : vector<8xf16>, memref<256xf16>, vector<8xindex>, vector<8xi1>
290- %val = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ]>} dense <25.5 > : vector <256 xf16 >
291- %offset = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ]>} dense <0 > : vector <256 xindex >
292- %mask = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ]>} dense <1 > : vector <256 xi1 >
293- xegpu.store %val , %dest [%offset ], %mask {chunk_size = 1 , layout = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ]>, l1_hint = #xegpu.cache_hint <cached >}
292+ %val = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>} dense <25.5 > : vector <256 xf16 >
293+ %offset = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>} dense <0 > : vector <256 xindex >
294+ %mask = arith.constant {layout_result_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>} dense <1 > : vector <256 xi1 >
295+ xegpu.store %val , %dest [%offset ], %mask {chunk_size = 1 , layout_operand_0 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>,
296+ layout_operand_2 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>,
297+ layout_operand_3 = #xegpu.layout <sg_layout = [32 ], sg_data = [8 ], inst_data = [8 ]>,
298+ l1_hint = #xegpu.cache_hint <cached >}
294299 : vector <256 xf16 >, memref <256 xf16 >, vector <256 xindex >, vector <256 xi1 >
295300 gpu.return
296301 }
0 commit comments