rust/tests/mir-opt/lower_intrinsics.align_of.LowerIntrinsics.panic-unwind.diff

18 lines
361 B
Diff
Raw Normal View History

- // MIR for `align_of` before LowerIntrinsics
+ // MIR for `align_of` after LowerIntrinsics
fn align_of() -> usize {
2023-06-06 13:47:00 +00:00
let mut _0: usize;
bb0: {
2023-06-06 13:47:00 +00:00
- _0 = std::intrinsics::min_align_of::<T>() -> [return: bb1, unwind unreachable];
+ _0 = AlignOf(T);
+ goto -> bb1;
}
bb1: {
2023-06-06 13:47:00 +00:00
return;
}
}