Skip to content

Commit 6c805fc

Browse files
committed
fixup! [mlir][vector] Add more tests for ConvertVectorToLLVM (5/n)
1 parent 98568b4 commit 6c805fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ func.func @shuffle_2D(%a: vector<1x4xf32>, %b: vector<2x4xf32>) -> vector<3x4xf3
10491049

10501050
// -----
10511051

1052-
func.func @extractelement_from_vec_0d(%a: vector<f32>) -> f32 {
1053-
%1 = vector.extractelement %a[] : vector<f32>
1052+
func.func @extractelement_from_vec_0d(%arg0: vector<f32>) -> f32 {
1053+
%1 = vector.extractelement %arg0[] : vector<f32>
10541054
return %1 : f32
10551055
}
10561056
// CHECK-LABEL: @extractelement_from_vec_0d
@@ -1254,8 +1254,8 @@ func.func @extract_scalar_from_vec_2d_dynamic_position_scalable(%arg0: vector<1x
12541254

12551255
// -----
12561256

1257-
func.func @insertelement_into_vec_0d(%a: f32, %b: vector<f32>) -> vector<f32> {
1258-
%1 = vector.insertelement %a, %b[] : vector<f32>
1257+
func.func @insertelement_into_vec_0d(%arg0: f32, %arg1: vector<f32>) -> vector<f32> {
1258+
%1 = vector.insertelement %arg0, %arg1[] : vector<f32>
12591259
return %1 : vector<f32>
12601260
}
12611261
// CHECK-LABEL: @insertelement_into_vec_0d

0 commit comments

Comments
 (0)