1 - // MIR for `main` before UnreachablePropagation
2 + // MIR for `main` after UnreachablePropagation
5 let mut _0: (); // return place in scope 0 at $DIR/unreachable_asm_2.rs:10:11: 10:11
6 let mut _1: std::option::Option<Empty>; // in scope 0 at $DIR/unreachable_asm_2.rs:11:23: 11:30
7 let mut _2: isize; // in scope 0 at $DIR/unreachable_asm_2.rs:11:12: 11:20
8 let _3: Empty; // in scope 0 at $DIR/unreachable_asm_2.rs:11:17: 11:19
9 let _5: (); // in scope 0 at $DIR/unreachable_asm_2.rs:14:9: 22:10
10 let mut _6: bool; // in scope 0 at $DIR/unreachable_asm_2.rs:14:12: 14:16
11 let _7: (); // in scope 0 at $DIR/unreachable_asm_2.rs:16:13: 16:41
12 let _8: (); // in scope 0 at $DIR/unreachable_asm_2.rs:20:13: 20:41
13 let mut _9: !; // in scope 0 at $DIR/unreachable_asm_2.rs:24:9: 24:21
15 debug _x => _3; // in scope 1 at $DIR/unreachable_asm_2.rs:11:17: 11:19
16 let mut _4: i32; // in scope 1 at $DIR/unreachable_asm_2.rs:12:13: 12:19
18 debug _y => _4; // in scope 2 at $DIR/unreachable_asm_2.rs:12:13: 12:19
27 StorageLive(_1); // scope 0 at $DIR/unreachable_asm_2.rs:11:23: 11:30
28 _1 = empty() -> bb1; // scope 0 at $DIR/unreachable_asm_2.rs:11:23: 11:30
30 // + span: $DIR/unreachable_asm_2.rs:11:23: 11:28
31 // + literal: Const { ty: fn() -> std::option::Option<Empty> {empty}, val: Value(Scalar(<ZST>)) }
35 _2 = discriminant(_1); // scope 0 at $DIR/unreachable_asm_2.rs:11:12: 11:20
36 switchInt(move _2) -> [1_isize: bb3, otherwise: bb2]; // scope 0 at $DIR/unreachable_asm_2.rs:11:12: 11:20
40 _0 = const (); // scope 0 at $DIR/unreachable_asm_2.rs:25:6: 25:6
41 StorageDead(_1); // scope 0 at $DIR/unreachable_asm_2.rs:26:1: 26:2
42 return; // scope 0 at $DIR/unreachable_asm_2.rs:26:2: 26:2
46 StorageLive(_3); // scope 0 at $DIR/unreachable_asm_2.rs:11:17: 11:19
47 _3 = move ((_1 as Some).0: Empty); // scope 0 at $DIR/unreachable_asm_2.rs:11:17: 11:19
48 StorageLive(_4); // scope 1 at $DIR/unreachable_asm_2.rs:12:13: 12:19
49 StorageLive(_5); // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10
50 StorageLive(_6); // scope 2 at $DIR/unreachable_asm_2.rs:14:12: 14:16
51 _6 = const true; // scope 2 at $DIR/unreachable_asm_2.rs:14:12: 14:16
52 switchInt(_6) -> [false: bb4, otherwise: bb5]; // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10
56 StorageLive(_8); // scope 2 at $DIR/unreachable_asm_2.rs:20:13: 20:41
57 llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []); // scope 4 at $DIR/unreachable_asm_2.rs:20:22: 20:39
58 _8 = const (); // scope 4 at $DIR/unreachable_asm_2.rs:20:13: 20:41
59 StorageDead(_8); // scope 2 at $DIR/unreachable_asm_2.rs:20:40: 20:41
60 _4 = const 42_i32; // scope 2 at $DIR/unreachable_asm_2.rs:21:13: 21:20
61 _5 = const (); // scope 2 at $DIR/unreachable_asm_2.rs:18:16: 22:10
62 - goto -> bb6; // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10
63 + unreachable; // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10
67 StorageLive(_7); // scope 2 at $DIR/unreachable_asm_2.rs:16:13: 16:41
68 llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []); // scope 3 at $DIR/unreachable_asm_2.rs:16:22: 16:39
69 _7 = const (); // scope 3 at $DIR/unreachable_asm_2.rs:16:13: 16:41
70 StorageDead(_7); // scope 2 at $DIR/unreachable_asm_2.rs:16:40: 16:41
71 _4 = const 21_i32; // scope 2 at $DIR/unreachable_asm_2.rs:17:13: 17:20
72 _5 = const (); // scope 2 at $DIR/unreachable_asm_2.rs:14:17: 18:10
73 - goto -> bb6; // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10
77 - StorageDead(_6); // scope 2 at $DIR/unreachable_asm_2.rs:22:9: 22:10
78 - StorageDead(_5); // scope 2 at $DIR/unreachable_asm_2.rs:22:9: 22:10
79 - StorageLive(_9); // scope 2 at $DIR/unreachable_asm_2.rs:24:9: 24:21
80 - unreachable; // scope 2 at $DIR/unreachable_asm_2.rs:24:15: 24:17
81 + unreachable; // scope 2 at $DIR/unreachable_asm_2.rs:14:9: 22:10