]> git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/lower_intrinsics.f_u64.PreCodegen.before.mir
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / mir-opt / lower_intrinsics.f_u64.PreCodegen.before.mir
1 // MIR for `f_u64` before PreCodegen
2
3 fn f_u64() -> () {
4 let mut _0: (); // return place in scope 0 at $DIR/lower_intrinsics.rs:34:16: 34:16
5 scope 1 (inlined f_dispatch::<u64>) { // at $DIR/lower_intrinsics.rs:35:5: 35:21
6 debug t => _2; // in scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
7 let _1: (); // in scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
8 let mut _2: u64; // in scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
9 scope 2 (inlined std::mem::size_of::<u64>) { // at $DIR/lower_intrinsics.rs:35:5: 35:21
10 }
11 }
12
13 bb0: {
14 _2 = const 0_u64; // scope 0 at $DIR/lower_intrinsics.rs:35:5: 35:21
15 StorageLive(_1); // scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
16 _1 = f_non_zst::<u64>(move _2) -> bb1; // scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
17 // mir::Constant
18 // + span: $DIR/lower_intrinsics.rs:35:5: 35:21
19 // + literal: Const { ty: fn(u64) {f_non_zst::<u64>}, val: Value(Scalar(<ZST>)) }
20 }
21
22 bb1: {
23 StorageDead(_1); // scope 1 at $DIR/lower_intrinsics.rs:35:5: 35:21
24 _0 = const (); // scope 0 at $DIR/lower_intrinsics.rs:34:16: 36:2
25 return; // scope 0 at $DIR/lower_intrinsics.rs:36:2: 36:2
26 }
27 }