1
- // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 4
2
- // RUN: %clang_cc1 -triple x86_64-linux-gnu -target-cpu core2 %s -emit-llvm -o - | FileCheck -check-prefixes=CHECK,CHECK64 %s
3
- // RUN: %clang_cc1 -triple i686-linux-gnu -target-cpu core2 %s -emit-llvm -o - | FileCheck -check-prefixes=CHECK,CHECK32 %s
1
+ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
2
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu -target-cpu core2 %s -emit-llvm -o - | FileCheck %s
3
+ // RUN: %clang_cc1 -triple i686-linux-gnu -target-cpu core2 %s -emit-llvm -o - | FileCheck %s
4
4
5
5
6
6
// CHECK-LABEL: define dso_local i32 @test_int_inc(
7
7
// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
8
- // CHECK-NEXT: entry:
8
+ // CHECK-NEXT: [[ENTRY:.*:]]
9
9
// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw add ptr @test_int_inc.n, i32 1 seq_cst, align 4
10
10
// CHECK-NEXT: ret i32 [[TMP0]]
11
11
//
@@ -17,7 +17,7 @@ int test_int_inc()
17
17
18
18
// CHECK-LABEL: define dso_local float @test_float_post_inc(
19
19
// CHECK-SAME: ) #[[ATTR0]] {
20
- // CHECK-NEXT: entry:
20
+ // CHECK-NEXT: [[ENTRY:.*:]]
21
21
// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fadd ptr @test_float_post_inc.n, float 1.000000e+00 seq_cst, align 4
22
22
// CHECK-NEXT: ret float [[TMP0]]
23
23
//
@@ -29,7 +29,7 @@ float test_float_post_inc()
29
29
30
30
// CHECK-LABEL: define dso_local float @test_float_post_dc(
31
31
// CHECK-SAME: ) #[[ATTR0]] {
32
- // CHECK-NEXT: entry:
32
+ // CHECK-NEXT: [[ENTRY:.*:]]
33
33
// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fsub ptr @test_float_post_dc.n, float 1.000000e+00 seq_cst, align 4
34
34
// CHECK-NEXT: ret float [[TMP0]]
35
35
//
@@ -41,7 +41,7 @@ float test_float_post_dc()
41
41
42
42
// CHECK-LABEL: define dso_local float @test_float_pre_dc(
43
43
// CHECK-SAME: ) #[[ATTR0]] {
44
- // CHECK-NEXT: entry:
44
+ // CHECK-NEXT: [[ENTRY:.*:]]
45
45
// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fsub ptr @test_float_pre_dc.n, float 1.000000e+00 seq_cst, align 4
46
46
// CHECK-NEXT: [[TMP1:%.*]] = fsub float [[TMP0]], 1.000000e+00
47
47
// CHECK-NEXT: ret float [[TMP1]]
@@ -54,7 +54,7 @@ float test_float_pre_dc()
54
54
55
55
// CHECK-LABEL: define dso_local float @test_float_pre_inc(
56
56
// CHECK-SAME: ) #[[ATTR0]] {
57
- // CHECK-NEXT: entry:
57
+ // CHECK-NEXT: [[ENTRY:.*:]]
58
58
// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fadd ptr @test_float_pre_inc.n, float 1.000000e+00 seq_cst, align 4
59
59
// CHECK-NEXT: [[TMP1:%.*]] = fadd float [[TMP0]], 1.000000e+00
60
60
// CHECK-NEXT: ret float [[TMP1]]
@@ -64,6 +64,3 @@ float test_float_pre_inc()
64
64
static _Atomic float n ;
65
65
return ++ n ;
66
66
}
67
- //// NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
68
- // CHECK32: {{.*}}
69
- // CHECK64: {{.*}}
0 commit comments