Skip to content

Commit d97ed2d

Browse files
committed
fix few typo in filecheck annotations
1 parent be7549f commit d97ed2d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Diff for: tests/codegen/option-niche-eq.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use core::cmp::Ordering;
77
use core::ptr::NonNull;
88
use core::num::NonZero;
99

10-
// CHECK-lABEL: @non_zero_eq
10+
// CHECK-LABEL: @non_zero_eq
1111
#[no_mangle]
1212
pub fn non_zero_eq(l: Option<NonZero<u32>>, r: Option<NonZero<u32>>) -> bool {
1313
// CHECK: start:
@@ -16,7 +16,7 @@ pub fn non_zero_eq(l: Option<NonZero<u32>>, r: Option<NonZero<u32>>) -> bool {
1616
l == r
1717
}
1818

19-
// CHECK-lABEL: @non_zero_signed_eq
19+
// CHECK-LABEL: @non_zero_signed_eq
2020
#[no_mangle]
2121
pub fn non_zero_signed_eq(l: Option<NonZero<i64>>, r: Option<NonZero<i64>>) -> bool {
2222
// CHECK: start:
@@ -25,7 +25,7 @@ pub fn non_zero_signed_eq(l: Option<NonZero<i64>>, r: Option<NonZero<i64>>) -> b
2525
l == r
2626
}
2727

28-
// CHECK-lABEL: @non_null_eq
28+
// CHECK-LABEL: @non_null_eq
2929
#[no_mangle]
3030
pub fn non_null_eq(l: Option<NonNull<u8>>, r: Option<NonNull<u8>>) -> bool {
3131
// CHECK: start:
@@ -34,7 +34,7 @@ pub fn non_null_eq(l: Option<NonNull<u8>>, r: Option<NonNull<u8>>) -> bool {
3434
l == r
3535
}
3636

37-
// CHECK-lABEL: @ordering_eq
37+
// CHECK-LABEL: @ordering_eq
3838
#[no_mangle]
3939
pub fn ordering_eq(l: Option<Ordering>, r: Option<Ordering>) -> bool {
4040
// CHECK: start:
@@ -54,7 +54,7 @@ pub enum EnumWithNiche {
5454
G,
5555
}
5656

57-
// CHECK-lABEL: @niche_eq
57+
// CHECK-LABEL: @niche_eq
5858
#[no_mangle]
5959
pub fn niche_eq(l: Option<EnumWithNiche>, r: Option<EnumWithNiche>) -> bool {
6060
// CHECK: start:
@@ -64,7 +64,7 @@ pub fn niche_eq(l: Option<EnumWithNiche>, r: Option<EnumWithNiche>) -> bool {
6464
}
6565

6666
// FIXME: This should work too
67-
// // FIXME-CHECK-lABEL: @bool_eq
67+
// // FIXME-CHECK-LABEL: @bool_eq
6868
// #[no_mangle]
6969
// pub fn bool_eq(l: Option<bool>, r: Option<bool>) -> bool {
7070
// // FIXME-CHECK: start:

Diff for: tests/codegen/sanitizer/no-sanitize-inlining.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// ASAN: }
1717
//
1818
// LSAN-LABEL: define void @test
19-
// LSAN-NO: call
19+
// LSAN-NOT: call
2020
// LSAN: }
2121
#[no_mangle]
2222
pub fn test(n: &mut u32) {

Diff for: tests/codegen/simd/issue-120720-reduce-nan.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#![feature(stdarch_x86_avx512, avx512_target_feature)]
99
use std::arch::x86_64::*;
1010

11-
// CHECK-label: @demo(
11+
// CHECK-LABEL: @demo(
1212
#[no_mangle]
1313
#[target_feature(enable = "avx512f")] // Function-level target feature mismatches inhibit inlining
1414
pub unsafe fn demo() -> bool {

0 commit comments

Comments
 (0)