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
44
55
66// CHECK-LABEL: define dso_local i32 @test_int_inc(
77// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
8- // CHECK-NEXT: entry:
8+ // CHECK-NEXT: [[ENTRY:.*:]]
99// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw add ptr @test_int_inc.n, i32 1 seq_cst, align 4
1010// CHECK-NEXT: ret i32 [[TMP0]]
1111//
@@ -17,7 +17,7 @@ int test_int_inc()
1717
1818// CHECK-LABEL: define dso_local float @test_float_post_inc(
1919// CHECK-SAME: ) #[[ATTR0]] {
20- // CHECK-NEXT: entry:
20+ // CHECK-NEXT: [[ENTRY:.*:]]
2121// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fadd ptr @test_float_post_inc.n, float 1.000000e+00 seq_cst, align 4
2222// CHECK-NEXT: ret float [[TMP0]]
2323//
@@ -29,7 +29,7 @@ float test_float_post_inc()
2929
3030// CHECK-LABEL: define dso_local float @test_float_post_dc(
3131// CHECK-SAME: ) #[[ATTR0]] {
32- // CHECK-NEXT: entry:
32+ // CHECK-NEXT: [[ENTRY:.*:]]
3333// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fsub ptr @test_float_post_dc.n, float 1.000000e+00 seq_cst, align 4
3434// CHECK-NEXT: ret float [[TMP0]]
3535//
@@ -41,7 +41,7 @@ float test_float_post_dc()
4141
4242// CHECK-LABEL: define dso_local float @test_float_pre_dc(
4343// CHECK-SAME: ) #[[ATTR0]] {
44- // CHECK-NEXT: entry:
44+ // CHECK-NEXT: [[ENTRY:.*:]]
4545// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fsub ptr @test_float_pre_dc.n, float 1.000000e+00 seq_cst, align 4
4646// CHECK-NEXT: [[TMP1:%.*]] = fsub float [[TMP0]], 1.000000e+00
4747// CHECK-NEXT: ret float [[TMP1]]
@@ -54,7 +54,7 @@ float test_float_pre_dc()
5454
5555// CHECK-LABEL: define dso_local float @test_float_pre_inc(
5656// CHECK-SAME: ) #[[ATTR0]] {
57- // CHECK-NEXT: entry:
57+ // CHECK-NEXT: [[ENTRY:.*:]]
5858// CHECK-NEXT: [[TMP0:%.*]] = atomicrmw fadd ptr @test_float_pre_inc.n, float 1.000000e+00 seq_cst, align 4
5959// CHECK-NEXT: [[TMP1:%.*]] = fadd float [[TMP0]], 1.000000e+00
6060// CHECK-NEXT: ret float [[TMP1]]
@@ -64,6 +64,3 @@ float test_float_pre_inc()
6464 static _Atomic float n ;
6565 return ++ n ;
6666}
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