Skip to content

Commit 9686a2c

Browse files
committed
Remove stale CHECKs
Created using spr 1.3.6-beta.1
1 parent fb18dcb commit 9686a2c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

clang/test/CodeGen/builtin-cpu-is.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// global, the bit grab, and the icmp correct.
88
extern void a(const char *);
99

10-
// CHECK: @__cpu_model = external dso_local global { i32, i32, i32, [1 x i32] }
11-
1210
// CHECK-X86-LABEL: define dso_local void @intel(
1311
// CHECK-X86-SAME: ) #[[ATTR0:[0-9]+]] {
1412
// CHECK-X86-NEXT: [[ENTRY:.*:]]
@@ -24,9 +22,6 @@ extern void a(const char *);
2422
void intel(void) {
2523
if (__builtin_cpu_is("intel"))
2624
a("intel");
27-
28-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr @__cpu_model
29-
// CHECK: = icmp eq i32 [[LOAD]], 1
3025
}
3126

3227
// CHECK-X86-LABEL: define dso_local void @amd(
@@ -44,9 +39,6 @@ void intel(void) {
4439
void amd(void) {
4540
if (__builtin_cpu_is("amd"))
4641
a("amd");
47-
48-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr @__cpu_model
49-
// CHECK: = icmp eq i32 [[LOAD]], 2
5042
}
5143

5244
// CHECK-X86-LABEL: define dso_local void @atom(
@@ -64,9 +56,6 @@ void amd(void) {
6456
void atom(void) {
6557
if (__builtin_cpu_is("atom"))
6658
a("atom");
67-
68-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr getelementptr inbounds ({ i32, i32, i32, [1 x i32] }, ptr @__cpu_model, i32 0, i32 1)
69-
// CHECK: = icmp eq i32 [[LOAD]], 1
7059
}
7160

7261
// CHECK-X86-LABEL: define dso_local void @amdfam10h(
@@ -84,9 +73,6 @@ void atom(void) {
8473
void amdfam10h(void) {
8574
if (__builtin_cpu_is("amdfam10h"))
8675
a("amdfam10h");
87-
88-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr getelementptr inbounds ({ i32, i32, i32, [1 x i32] }, ptr @__cpu_model, i32 0, i32 1)
89-
// CHECK: = icmp eq i32 [[LOAD]], 4
9076
}
9177

9278
// CHECK-X86-LABEL: define dso_local void @barcelona(
@@ -104,9 +90,6 @@ void amdfam10h(void) {
10490
void barcelona(void) {
10591
if (__builtin_cpu_is("barcelona"))
10692
a("barcelona");
107-
108-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr getelementptr inbounds ({ i32, i32, i32, [1 x i32] }, ptr @__cpu_model, i32 0, i32 2)
109-
// CHECK: = icmp eq i32 [[LOAD]], 4
11093
}
11194

11295
// CHECK-X86-LABEL: define dso_local void @nehalem(
@@ -124,9 +107,6 @@ void barcelona(void) {
124107
void nehalem(void) {
125108
if (__builtin_cpu_is("nehalem"))
126109
a("nehalem");
127-
128-
// CHECK: [[LOAD:%[^ ]+]] = load i32, ptr getelementptr inbounds ({ i32, i32, i32, [1 x i32] }, ptr @__cpu_model, i32 0, i32 2)
129-
// CHECK: = icmp eq i32 [[LOAD]], 1
130110
}
131111
#endif
132112

0 commit comments

Comments
 (0)