]> git.proxmox.com Git - rustc.git/blob - tests/mir-opt/lower_intrinsics.align_of.LowerIntrinsics.diff
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / mir-opt / lower_intrinsics.align_of.LowerIntrinsics.diff
1 - // MIR for `align_of` before LowerIntrinsics
2 + // MIR for `align_of` after LowerIntrinsics
3
4 fn align_of() -> usize {
5 let mut _0: usize; // return place in scope 0 at $DIR/lower_intrinsics.rs:+0:25: +0:30
6
7 bb0: {
8 - _0 = std::intrinsics::min_align_of::<T>() -> bb1; // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:42
9 - // mir::Constant
10 - // + span: $DIR/lower_intrinsics.rs:21:5: 21:40
11 - // + literal: Const { ty: extern "rust-intrinsic" fn() -> usize {std::intrinsics::min_align_of::<T>}, val: Value(<ZST>) }
12 + _0 = AlignOf(T); // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:42
13 + goto -> bb1; // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:42
14 }
15
16 bb1: {
17 return; // scope 0 at $DIR/lower_intrinsics.rs:+2:2: +2:2
18 }
19 }
20