File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use std::slice::Iter;
1515pub fn is_empty_1 ( xs : Iter < f32 > ) -> bool {
1616// CHECK-LABEL: @is_empty_1(
1717// CHECK-NEXT: start:
18- // CHECK-NEXT: [[A:%.*]] = icmp ne {{i32\*|ptr}} %xs.1, null
18+ // CHECK-NEXT: [[A:%.*]] = icmp ne {{i32\*|ptr}} {{ %xs.1|%xs.0}} , null
1919// CHECK-NEXT: tail call void @llvm.assume(i1 [[A]])
2020// The order between %xs.0 and %xs.1 on the next line doesn't matter
2121// and different LLVM versions produce different order.
@@ -28,7 +28,7 @@ pub fn is_empty_1(xs: Iter<f32>) -> bool {
2828pub fn is_empty_2 ( xs : Iter < f32 > ) -> bool {
2929// CHECK-LABEL: @is_empty_2
3030// CHECK-NEXT: start:
31- // CHECK-NEXT: [[C:%.*]] = icmp ne {{i32\*|ptr}} %xs.1, null
31+ // CHECK-NEXT: [[C:%.*]] = icmp ne {{i32\*|ptr}} {{ %xs.1|%xs.0}} , null
3232// CHECK-NEXT: tail call void @llvm.assume(i1 [[C]])
3333// The order between %xs.0 and %xs.1 on the next line doesn't matter
3434// and different LLVM versions produce different order.
Original file line number Diff line number Diff line change 11// stderr-per-bitwidth
2+ // needs-deterministic-layouts (randomized layout affects printing of the raw bytes)
23// ignore-debug (the debug assertions change the error)
34use std:: alloc:: Layout ;
45
Original file line number Diff line number Diff line change 11// check-pass
2+ // needs-deterministic-layouts (layout randomization affects the hir stat output)
23// compile-flags: -Zhir-stats
34// only-x86_64
45
You can’t perform that action at this time.
0 commit comments