@@ -25,6 +25,7 @@ func.func @arm_sme_load_tile_slice_hor_i8(%src : memref<?x?xi8>, %mask : vector<
25
25
%c0 = arith.constant 0 : index
26
26
%tile = arm_sme.get_tile : vector <[16 ]x[16 ]xi8 >
27
27
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xi8 >, vector <[16 ]xi1 >, vector <[16 ]x[16 ]xi8 >
28
+ " test.some_use" (%tile_update ) : (vector <[16 ]x[16 ]xi8 >) -> ()
28
29
return
29
30
}
30
31
@@ -36,6 +37,7 @@ func.func @arm_sme_load_tile_slice_hor_i16(%src : memref<?x?xi16>, %mask : vecto
36
37
%c0 = arith.constant 0 : index
37
38
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xi16 >
38
39
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xi16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xi16 >
40
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xi16 >) -> ()
39
41
return
40
42
}
41
43
@@ -47,6 +49,7 @@ func.func @arm_sme_load_tile_slice_hor_i32(%src : memref<?x?xi32>, %mask : vecto
47
49
%c0 = arith.constant 0 : index
48
50
%tile = arm_sme.get_tile : vector <[4 ]x[4 ]xi32 >
49
51
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xi32 >, vector <[4 ]xi1 >, vector <[4 ]x[4 ]xi32 >
52
+ " test.some_use" (%tile_update ) : (vector <[4 ]x[4 ]xi32 >) -> ()
50
53
return
51
54
}
52
55
@@ -58,6 +61,7 @@ func.func @arm_sme_load_tile_slice_hor_i64(%src : memref<?x?xi64>, %mask : vecto
58
61
%c0 = arith.constant 0 : index
59
62
%tile = arm_sme.get_tile : vector <[2 ]x[2 ]xi64 >
60
63
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xi64 >, vector <[2 ]xi1 >, vector <[2 ]x[2 ]xi64 >
64
+ " test.some_use" (%tile_update ) : (vector <[2 ]x[2 ]xi64 >) -> ()
61
65
return
62
66
}
63
67
@@ -69,6 +73,7 @@ func.func @arm_sme_load_tile_slice_hor_i128(%src : memref<?x?xi128>, %mask : vec
69
73
%c0 = arith.constant 0 : index
70
74
%tile = arm_sme.get_tile : vector <[1 ]x[1 ]xi128 >
71
75
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xi128 >, vector <[1 ]xi1 >, vector <[1 ]x[1 ]xi128 >
76
+ " test.some_use" (%tile_update ) : (vector <[1 ]x[1 ]xi128 >) -> ()
72
77
return
73
78
}
74
79
@@ -80,6 +85,7 @@ func.func @arm_sme_load_tile_slice_hor_f16(%src : memref<?x?xf16>, %mask : vecto
80
85
%c0 = arith.constant 0 : index
81
86
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xf16 >
82
87
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xf16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xf16 >
88
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xf16 >) -> ()
83
89
return
84
90
}
85
91
@@ -91,6 +97,7 @@ func.func @arm_sme_load_tile_slice_hor_bf16(%src : memref<?x?xbf16>, %mask : vec
91
97
%c0 = arith.constant 0 : index
92
98
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xbf16 >
93
99
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xbf16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xbf16 >
100
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xbf16 >) -> ()
94
101
return
95
102
}
96
103
@@ -102,6 +109,7 @@ func.func @arm_sme_load_tile_slice_hor_f32(%src : memref<?x?xf32>, %mask : vecto
102
109
%c0 = arith.constant 0 : index
103
110
%tile = arm_sme.get_tile : vector <[4 ]x[4 ]xf32 >
104
111
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xf32 >, vector <[4 ]xi1 >, vector <[4 ]x[4 ]xf32 >
112
+ " test.some_use" (%tile_update ) : (vector <[4 ]x[4 ]xf32 >) -> ()
105
113
return
106
114
}
107
115
@@ -113,6 +121,7 @@ func.func @arm_sme_load_tile_slice_hor_f64(%src : memref<?x?xf64>, %mask : vecto
113
121
%c0 = arith.constant 0 : index
114
122
%tile = arm_sme.get_tile : vector <[2 ]x[2 ]xf64 >
115
123
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index : memref <?x?xf64 >, vector <[2 ]xi1 >, vector <[2 ]x[2 ]xf64 >
124
+ " test.some_use" (%tile_update ) : (vector <[2 ]x[2 ]xf64 >) -> ()
116
125
return
117
126
}
118
127
@@ -124,6 +133,7 @@ func.func @arm_sme_load_tile_slice_ver_i8(%src : memref<?x?xi8>, %mask : vector<
124
133
%c0 = arith.constant 0 : index
125
134
%tile = arm_sme.get_tile : vector <[16 ]x[16 ]xi8 >
126
135
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xi8 >, vector <[16 ]xi1 >, vector <[16 ]x[16 ]xi8 >
136
+ " test.some_use" (%tile_update ) : (vector <[16 ]x[16 ]xi8 >) -> ()
127
137
return
128
138
}
129
139
@@ -135,6 +145,7 @@ func.func @arm_sme_load_tile_slice_ver_i16(%src : memref<?x?xi16>, %mask : vecto
135
145
%c0 = arith.constant 0 : index
136
146
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xi16 >
137
147
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xi16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xi16 >
148
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xi16 >) -> ()
138
149
return
139
150
}
140
151
@@ -146,6 +157,7 @@ func.func @arm_sme_load_tile_slice_ver_i32(%src : memref<?x?xi32>, %mask : vecto
146
157
%c0 = arith.constant 0 : index
147
158
%tile = arm_sme.get_tile : vector <[4 ]x[4 ]xi32 >
148
159
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xi32 >, vector <[4 ]xi1 >, vector <[4 ]x[4 ]xi32 >
160
+ " test.some_use" (%tile_update ) : (vector <[4 ]x[4 ]xi32 >) -> ()
149
161
return
150
162
}
151
163
@@ -157,6 +169,7 @@ func.func @arm_sme_load_tile_slice_ver_i64(%src : memref<?x?xi64>, %mask : vecto
157
169
%c0 = arith.constant 0 : index
158
170
%tile = arm_sme.get_tile : vector <[2 ]x[2 ]xi64 >
159
171
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xi64 >, vector <[2 ]xi1 >, vector <[2 ]x[2 ]xi64 >
172
+ " test.some_use" (%tile_update ) : (vector <[2 ]x[2 ]xi64 >) -> ()
160
173
return
161
174
}
162
175
@@ -168,6 +181,7 @@ func.func @arm_sme_load_tile_slice_ver_i128(%src : memref<?x?xi128>, %mask : vec
168
181
%c0 = arith.constant 0 : index
169
182
%tile = arm_sme.get_tile : vector <[1 ]x[1 ]xi128 >
170
183
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xi128 >, vector <[1 ]xi1 >, vector <[1 ]x[1 ]xi128 >
184
+ " test.some_use" (%tile_update ) : (vector <[1 ]x[1 ]xi128 >) -> ()
171
185
return
172
186
}
173
187
@@ -179,6 +193,7 @@ func.func @arm_sme_load_tile_slice_ver_f16(%src : memref<?x?xf16>, %mask : vecto
179
193
%c0 = arith.constant 0 : index
180
194
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xf16 >
181
195
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xf16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xf16 >
196
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xf16 >) -> ()
182
197
return
183
198
}
184
199
@@ -190,6 +205,7 @@ func.func @arm_sme_load_tile_slice_ver_bf16(%src : memref<?x?xbf16>, %mask : vec
190
205
%c0 = arith.constant 0 : index
191
206
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xbf16 >
192
207
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xbf16 >, vector <[8 ]xi1 >, vector <[8 ]x[8 ]xbf16 >
208
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xbf16 >) -> ()
193
209
return
194
210
}
195
211
@@ -201,6 +217,7 @@ func.func @arm_sme_load_tile_slice_ver_f32(%src : memref<?x?xf32>, %mask : vecto
201
217
%c0 = arith.constant 0 : index
202
218
%tile = arm_sme.get_tile : vector <[4 ]x[4 ]xf32 >
203
219
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xf32 >, vector <[4 ]xi1 >, vector <[4 ]x[4 ]xf32 >
220
+ " test.some_use" (%tile_update ) : (vector <[4 ]x[4 ]xf32 >) -> ()
204
221
return
205
222
}
206
223
@@ -212,6 +229,7 @@ func.func @arm_sme_load_tile_slice_ver_f64(%src : memref<?x?xf64>, %mask : vecto
212
229
%c0 = arith.constant 0 : index
213
230
%tile = arm_sme.get_tile : vector <[2 ]x[2 ]xf64 >
214
231
%tile_update = arm_sme.load_tile_slice %src [%c0 ], %mask , %tile , %tile_slice_index layout <vertical > : memref <?x?xf64 >, vector <[2 ]xi1 >, vector <[2 ]x[2 ]xf64 >
232
+ " test.some_use" (%tile_update ) : (vector <[2 ]x[2 ]xf64 >) -> ()
215
233
return
216
234
}
217
235
@@ -441,7 +459,8 @@ func.func @arm_sme_store_tile_slice_ver_f64(%tile_slice_index : index, %mask : v
441
459
func.func @arm_sme_move_vector_to_tile_slice_hor_i32 (%vector : vector <[4 ]xi32 >, %tile_slice_index : index ) -> () {
442
460
%c0 = arith.constant 0 : index
443
461
%tile = arm_sme.get_tile : vector <[4 ]x[4 ]xi32 >
444
- arm_sme.move_vector_to_tile_slice %vector , %tile , %tile_slice_index : vector <[4 ]xi32 > into vector <[4 ]x[4 ]xi32 >
462
+ %tile_update = arm_sme.move_vector_to_tile_slice %vector , %tile , %tile_slice_index : vector <[4 ]xi32 > into vector <[4 ]x[4 ]xi32 >
463
+ " test.some_use" (%tile_update ) : (vector <[4 ]x[4 ]xi32 >) -> ()
445
464
return
446
465
}
447
466
@@ -452,7 +471,8 @@ func.func @arm_sme_move_vector_to_tile_slice_hor_i32(%vector : vector<[4]xi32>,
452
471
func.func @arm_sme_move_vector_to_tile_slice_ver_bf16 (%vector : vector <[8 ]xbf16 >, %tile_slice_index : index ) -> () {
453
472
%c0 = arith.constant 0 : index
454
473
%tile = arm_sme.get_tile : vector <[8 ]x[8 ]xbf16 >
455
- arm_sme.move_vector_to_tile_slice %vector , %tile , %tile_slice_index layout <vertical > : vector <[8 ]xbf16 > into vector <[8 ]x[8 ]xbf16 >
474
+ %tile_update = arm_sme.move_vector_to_tile_slice %vector , %tile , %tile_slice_index layout <vertical > : vector <[8 ]xbf16 > into vector <[8 ]x[8 ]xbf16 >
475
+ " test.some_use" (%tile_update ) : (vector <[8 ]x[8 ]xbf16 >) -> ()
456
476
return
457
477
}
458
478
0 commit comments