|
3 | 3 | // RUN: -emit-llvm -disable-llvm-passes -O3 -o - | FileCheck %s
|
4 | 4 |
|
5 | 5 | #ifdef __HLSL_ENABLE_16_BIT
|
6 |
| -// CHECK: define noundef i16 @ |
7 |
| -// CHECK: call i16 @llvm.ctpop.i16( |
| 6 | +// CHECK-LABEL: test_countbits_ushort |
| 7 | +// CHECK: call i16 @llvm.ctpop.i16 |
8 | 8 | uint16_t test_countbits_ushort(uint16_t p0)
|
9 | 9 | {
|
10 | 10 | return countbits(p0);
|
11 | 11 | }
|
12 |
| -// CHECK: define noundef <2 x i16> @ |
| 12 | +// CHECK-LABEL: test_countbits_ushort2 |
13 | 13 | // CHECK: call <2 x i16> @llvm.ctpop.v2i16
|
14 | 14 | uint16_t2 test_countbits_ushort2(uint16_t2 p0)
|
15 | 15 | {
|
16 | 16 | return countbits(p0);
|
17 | 17 | }
|
18 |
| -// CHECK: define noundef <3 x i16> @ |
| 18 | +// CHECK-LABEL: test_countbits_ushort3 |
19 | 19 | // CHECK: call <3 x i16> @llvm.ctpop.v3i16
|
20 | 20 | uint16_t3 test_countbits_ushort3(uint16_t3 p0)
|
21 | 21 | {
|
22 | 22 | return countbits(p0);
|
23 | 23 | }
|
24 |
| -// CHECK: define noundef <4 x i16> @ |
| 24 | +// CHECK-LABEL: test_countbits_ushort4 |
25 | 25 | // CHECK: call <4 x i16> @llvm.ctpop.v4i16
|
26 | 26 | uint16_t4 test_countbits_ushort4(uint16_t4 p0)
|
27 | 27 | {
|
28 | 28 | return countbits(p0);
|
29 | 29 | }
|
30 | 30 | #endif
|
31 | 31 |
|
32 |
| -// CHECK: define noundef i32 @ |
33 |
| -// CHECK: call i32 @llvm.ctpop.i32( |
| 32 | +// CHECK-LABEL: test_countbits_uint |
| 33 | +// CHECK: call i32 @llvm.ctpop.i32 |
34 | 34 | int test_countbits_uint(uint p0)
|
35 | 35 | {
|
36 | 36 | return countbits(p0);
|
37 | 37 | }
|
38 |
| -// CHECK: define noundef <2 x i32> @ |
| 38 | +// CHECK-LABEL: test_countbits_uint2 |
39 | 39 | // CHECK: call <2 x i32> @llvm.ctpop.v2i32
|
40 | 40 | uint2 test_countbits_uint2(uint2 p0)
|
41 | 41 | {
|
42 | 42 | return countbits(p0);
|
43 | 43 | }
|
44 |
| -// CHECK: define noundef <3 x i32> @ |
| 44 | +// CHECK-LABEL: test_countbits_uint3 |
45 | 45 | // CHECK: call <3 x i32> @llvm.ctpop.v3i32
|
46 | 46 | uint3 test_countbits_uint3(uint3 p0)
|
47 | 47 | {
|
48 | 48 | return countbits(p0);
|
49 | 49 | }
|
50 |
| -// CHECK: define noundef <4 x i32> @ |
| 50 | +// CHECK-LABEL: test_countbits_uint4 |
51 | 51 | // CHECK: call <4 x i32> @llvm.ctpop.v4i32
|
52 | 52 | uint4 test_countbits_uint4(uint4 p0)
|
53 | 53 | {
|
54 | 54 | return countbits(p0);
|
55 | 55 | }
|
56 | 56 |
|
57 |
| -// CHECK: define noundef i64 @ |
58 |
| -// CHECK: call i64 @llvm.ctpop.i64( |
| 57 | +// CHECK-LABEL: test_countbits_long |
| 58 | +// CHECK: call i64 @llvm.ctpop.i64 |
59 | 59 | uint64_t test_countbits_long(uint64_t p0)
|
60 | 60 | {
|
61 | 61 | return countbits(p0);
|
62 | 62 | }
|
63 |
| -// CHECK: define noundef <2 x i64> @ |
| 63 | +// CHECK-LABEL: test_countbits_long2 |
64 | 64 | // CHECK: call <2 x i64> @llvm.ctpop.v2i64
|
65 | 65 | uint64_t2 test_countbits_long2(uint64_t2 p0)
|
66 | 66 | {
|
67 | 67 | return countbits(p0);
|
68 | 68 | }
|
69 |
| -// CHECK: define noundef <3 x i64> @ |
| 69 | +// CHECK-LABEL: test_countbits_long3 |
70 | 70 | // CHECK: call <3 x i64> @llvm.ctpop.v3i64
|
71 | 71 | uint64_t3 test_countbits_long3(uint64_t3 p0)
|
72 | 72 | {
|
73 | 73 | return countbits(p0);
|
74 | 74 | }
|
75 |
| -// CHECK: define noundef <4 x i64> @ |
| 75 | +// CHECK-LABEL: test_countbits_long4 |
76 | 76 | // CHECK: call <4 x i64> @llvm.ctpop.v4i64
|
77 | 77 | uint64_t4 test_countbits_long4(uint64_t4 p0)
|
78 | 78 | {
|
|
0 commit comments