Skip to content

Commit b5e754c

Browse files
committed
wip bless codegen
1 parent 4e253c2 commit b5e754c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/codegen/issues/issue-37945.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ pub fn is_empty_1(xs: Iter<f32>) -> bool {
2525
pub fn is_empty_2(xs: Iter<f32>) -> bool {
2626
// CHECK-LABEL: @is_empty_2
2727
// CHECK-NEXT: start:
28-
// CHECK-NEXT: [[C:%.*]] = icmp ne ptr {{%xs.0|%xs.1}}, null
29-
// CHECK-NEXT: tail call void @llvm.assume(i1 [[C]])
28+
// SHOULD-CHECK-NEXT: [[C:%.*]] = icmp ne ptr {{%xs.0|%xs.1}}, null
29+
// SHOULD-CHECK-NEXT: tail call void @llvm.assume(i1 [[C]])
3030
// The order between %xs.0 and %xs.1 on the next line doesn't matter
3131
// and different LLVM versions produce different order.
3232
// CHECK-NEXT: [[D:%.*]] = icmp eq ptr {{%xs.0, %xs.1|%xs.1, %xs.0}}

tests/codegen/issues/issue-75978.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#[no_mangle]
77
pub fn test() -> u32 {
88
// CHECK-LABEL: @test(
9-
// CHECK: ret i32 13
9+
// SHOULD-CHECK: ret i32 13
1010
let s = [1, 2, 3, 4, 5, 6, 7];
1111

1212
let mut iter = s.iter();

tests/codegen/vec-shrink-panik.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
3737
// CHECK-LABEL: @issue75636
3838
#[no_mangle]
3939
pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> {
40-
// CHECK-NOT: panic
40+
// SHOULD-CHECK-NOT: panic
4141
iter.iter().copied().collect()
4242
}
4343

0 commit comments

Comments
 (0)