3 // ignore-debug: the debug assertions in from_raw_parts get in the way
7 // CHECK-LABEL: @slice_reverse_u8
9 pub fn slice_reverse_u8(slice: &mut [u8]) {
10 // CHECK-NOT: panic_bounds_check
11 // CHECK-NOT: slice_end_index_len_fail
12 // CHECK: shufflevector <{{[0-9]+}} x i8>
13 // CHECK-NOT: panic_bounds_check
14 // CHECK-NOT: slice_end_index_len_fail
18 // CHECK-LABEL: @slice_reverse_i32
20 pub fn slice_reverse_i32(slice: &mut [i32]) {
21 // CHECK-NOT: panic_bounds_check
22 // CHECK-NOT: slice_end_index_len_fail
23 // CHECK: shufflevector <{{[0-9]+}} x i32>
24 // CHECK-NOT: panic_bounds_check
25 // CHECK-NOT: slice_end_index_len_fail