Skip to content

Commit 5cdd470

Browse files
committed
[CodeGen][X86] Remove unused check-prefix in bitscan tests
1 parent 0ff9d8c commit 5cdd470

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

clang/test/CodeGen/X86/bitscan-builtins.c

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
1-
// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKC
2-
// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s -triple=x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKCPP
3-
1+
// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s -triple=x86_64-unknown-unknown -emit-llvm -o - | FileCheck %s
43

54
// PR33722
6-
// RUN: %clang_cc1 -x c -ffreestanding %s -triple x86_64-unknown-unknown -fms-extensions -fms-compatibility-version=19.00 -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKC
7-
// RUN: %clang_cc1 -x c++ -ffreestanding %s -triple x86_64-unknown-unknown -fms-extensions -fms-compatibility-version=19.00 -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKCPP
5+
// RUN: %clang_cc1 -x c -ffreestanding %s -triple x86_64-unknown-unknown -fms-extensions -fms-compatibility-version=19.00 -emit-llvm -o - | FileCheck %s
6+
// RUN: %clang_cc1 -x c++ -ffreestanding %s -triple x86_64-unknown-unknown -fms-extensions -fms-compatibility-version=19.00 -emit-llvm -o - | FileCheck %s
87

98
#include <x86intrin.h>
109

1110
int test_bit_scan_forward(int a) {
1211
return _bit_scan_forward(a);
13-
// CHECKC-LABEL: @test_bit_scan_forward
12+
// CHECK-LABEL: test_bit_scan_forward
1413
// CHECK: %[[call:.*]] = call i32 @llvm.cttz.i32(i32 %{{.*}}, i1 true)
1514
// CHECK: ret i32 %[[call]]
1615
}
1716

1817
int test_bit_scan_reverse(int a) {
1918
return _bit_scan_reverse(a);
20-
// CHECKC-LABEL: @test_bit_scan_reverse
19+
// CHECK-LABEL: test_bit_scan_reverse
2120
// CHECK: %[[call:.*]] = call i32 @llvm.ctlz.i32(i32 %{{.*}}, i1 true)
2221
// CHECK: %[[sub:.*]] = sub nsw i32 31, %[[call]]
2322
// CHECK: ret i32 %[[sub]]
2423
}
2524

2625
int test__bsfd(int X) {
27-
// CHECKC-LABEL: @test__bsfd
26+
// CHECK-LABEL: test__bsfd
2827
// CHECK: %[[call:.*]] = call i32 @llvm.cttz.i32(i32 %{{.*}}, i1 true)
2928
return __bsfd(X);
3029
}
3130

3231
int test__bsfq(long long X) {
33-
// CHECKC-LABEL: @test__bsfq
32+
// CHECK-LABEL: test__bsfq
3433
// CHECK: %[[call:.*]] = call i64 @llvm.cttz.i64(i64 %{{.*}}, i1 true)
3534
return __bsfq(X);
3635
}
3736

3837
int test__bsrd(int X) {
39-
// CHECKC-LABEL: @test__bsrd
38+
// CHECK-LABEL: test__bsrd
4039
// CHECK: %[[call:.*]] = call i32 @llvm.ctlz.i32(i32 %{{.*}}, i1 true)
4140
// CHECK: %[[sub:.*]] = sub nsw i32 31, %[[call]]
4241
return __bsrd(X);
4342
}
4443

4544
int test__bsrq(long long X) {
46-
// CHECKC-LABEL: @test__bsrq
45+
// CHECK-LABEL: test__bsrq
4746
// CHECK: %[[call:.*]] = call i64 @llvm.ctlz.i64(i64 %{{.*}}, i1 true)
4847
// CHECK: %[[cast:.*]] = trunc i64 %[[call]] to i32
4948
// CHECK: %[[sub:.*]] = sub nsw i32 63, %[[cast]]

0 commit comments

Comments
 (0)