@@ -151,25 +151,31 @@ func.func @transfer_write_2d__out_of_bounds(%vector : vector<[4]x[4]xf32>, %dest
151
151
152
152
// -----
153
153
154
+ // CHECK-LABEL: @vector_outerproduct_unsupported_axpy
155
+ // CHECK-NOT: arm_sme.outerproduct
156
+ // CHECK: vector.outerproduct
154
157
func.func @vector_outerproduct_unsupported_axpy (%lhs : vector <[2 ]xf64 >, %rhs : f64 , %acc : vector <[2 ]xf64 >) -> vector <[2 ]xf64 > {
155
- // expected-error@+1 {{AXPY operations not supported}}
156
158
%0 = vector.outerproduct %lhs , %rhs , %acc {kind = #vector.kind <mul >} : vector <[2 ]xf64 >, f64
157
159
return %0 : vector <[2 ]xf64 >
158
160
}
159
161
160
162
// -----
161
163
164
+ // CHECK-LABEL: @vector_outerproduct_unsupported_kind
165
+ // CHECK-NOT: arm_sme.outerproduct
166
+ // CHECK: vector.outerproduct
162
167
func.func @vector_outerproduct_unsupported_kind (%lhs : vector <[2 ]xf64 >, %rhs : vector <[2 ]xf64 >) {
163
168
%acc = arm_sme.get_tile : vector <[2 ]x[2 ]xf64 >
164
- // expected-error@+1 {{unsupported kind}}
165
169
%0 = vector.outerproduct %lhs , %rhs , %acc {kind = #vector.kind <mul >} : vector <[2 ]xf64 >, vector <[2 ]xf64 >
166
170
" prevent.dce" (%0 ) : (vector <[2 ]x[2 ]xf64 >) -> ()
167
171
}
168
172
169
173
// -----
170
174
175
+ // CHECK-LABEL: @vector_outerproduct_unknown_mask
176
+ // CHECK-NOT: arm_sme.outerproduct
177
+ // CHECK: vector.outerproduct
171
178
func.func @vector_outerproduct_unknown_mask (%lhs : vector <[4 ]xf32 >, %rhs : vector <[4 ]xf32 >, %mask : vector <[4 ]x[4 ]xi1 >) {
172
- // CHECK: vector.outerproduct
173
179
%acc = arm_sme.get_tile : vector <[4 ]x[4 ]xf32 >
174
180
%0 = vector.mask %mask { vector.outerproduct %lhs , %rhs , %acc {kind = #vector.kind <add >} : vector <[4 ]xf32 >, vector <[4 ]xf32 > } : vector <[4 ]x[4 ]xi1 > -> vector <[4 ]x[4 ]xf32 >
175
181
" prevent.dce" (%0 ) : (vector <[4 ]x[4 ]xf32 >) -> ()
0 commit comments