@@ -9,17 +9,17 @@ typedef __attribute__((neon_vector_type(16))) signed char int8x16_t;
9
9
typedef __MFloat8x8_t mfloat8x8_t ;
10
10
typedef __MFloat8x16_t mfloat8x16_t ;
11
11
12
- // CHECK-LABEL: define dso_local <8 x i8> @f0 (
12
+ // CHECK-LABEL: define dso_local <8 x i8> @test_8x8 (
13
13
// CHECK-SAME: <8 x i8> [[X:%.*]]) #[[ATTR0:[0-9]+]] {
14
14
// CHECK-NEXT: [[ENTRY:.*:]]
15
15
// CHECK-NEXT: [[SHUFFLE:%.*]] = shufflevector <8 x i8> [[X]], <8 x i8> [[X]], <8 x i32> <i32 3, i32 2, i32 1, i32 0, i32 3, i32 2, i32 1, i32 0>
16
16
// CHECK-NEXT: ret <8 x i8> [[SHUFFLE]]
17
17
//
18
- mfloat8x8_t f0 (mfloat8x8_t x ) {
18
+ mfloat8x8_t test_8x8 (mfloat8x8_t x ) {
19
19
return __builtin_shufflevector (x , x , 3 , 2 , 1 , 0 , 3 , 2 , 1 , 0 );
20
20
}
21
21
22
- // CHECK-LABEL: define dso_local <8 x i8> @f1 (
22
+ // CHECK-LABEL: define dso_local <8 x i8> @test_8x8_v (
23
23
// CHECK-SAME: <8 x i8> [[X:%.*]], <8 x i8> noundef [[P:%.*]]) #[[ATTR0]] {
24
24
// CHECK-NEXT: [[ENTRY:.*:]]
25
25
// CHECK-NEXT: [[MASK:%.*]] = and <8 x i8> [[P]], splat (i8 7)
@@ -49,22 +49,22 @@ mfloat8x8_t f0(mfloat8x8_t x) {
49
49
// CHECK-NEXT: [[SHUF_INS21:%.*]] = insertelement <8 x i8> [[SHUF_INS18]], i8 [[SHUF_ELT20]], i64 7
50
50
// CHECK-NEXT: ret <8 x i8> [[SHUF_INS21]]
51
51
//
52
- mfloat8x8_t f1 (mfloat8x8_t x , int8x8_t p ) {
52
+ mfloat8x8_t test_8x8_v (mfloat8x8_t x , int8x8_t p ) {
53
53
return __builtin_shufflevector (x , p );
54
54
}
55
55
56
- // CHECK-LABEL: define dso_local <16 x i8> @f3 (
56
+ // CHECK-LABEL: define dso_local <16 x i8> @test_8x16 (
57
57
// CHECK-SAME: <16 x i8> [[X:%.*]]) #[[ATTR0]] {
58
58
// CHECK-NEXT: [[ENTRY:.*:]]
59
59
// CHECK-NEXT: [[SHUFFLE:%.*]] = shufflevector <16 x i8> [[X]], <16 x i8> [[X]], <16 x i32> <i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
60
60
// CHECK-NEXT: ret <16 x i8> [[SHUFFLE]]
61
61
//
62
- mfloat8x16_t f3 (mfloat8x16_t x ) {
62
+ mfloat8x16_t test_8x16 (mfloat8x16_t x ) {
63
63
return __builtin_shufflevector (x , x , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 0 , 7 , 6 , 5 , 4 , 3 , 2 ,
64
64
1 , 0 );
65
65
}
66
66
67
- // CHECK-LABEL: define dso_local <16 x i8> @f4 (
67
+ // CHECK-LABEL: define dso_local <16 x i8> @test_8x16_v (
68
68
// CHECK-SAME: <16 x i8> [[X:%.*]], <16 x i8> noundef [[P:%.*]]) #[[ATTR0]] {
69
69
// CHECK-NEXT: [[ENTRY:.*:]]
70
70
// CHECK-NEXT: [[MASK:%.*]] = and <16 x i8> [[P]], splat (i8 15)
@@ -118,6 +118,6 @@ mfloat8x16_t f3(mfloat8x16_t x) {
118
118
// CHECK-NEXT: [[SHUF_INS45:%.*]] = insertelement <16 x i8> [[SHUF_INS42]], i8 [[SHUF_ELT44]], i64 15
119
119
// CHECK-NEXT: ret <16 x i8> [[SHUF_INS45]]
120
120
//
121
- mfloat8x16_t f4 (mfloat8x16_t x , int8x16_t p ) {
121
+ mfloat8x16_t test_8x16_v (mfloat8x16_t x , int8x16_t p ) {
122
122
return __builtin_shufflevector (x , p );
123
123
}
0 commit comments