2023-09-20 16:43:33 -05:00
|
|
|
- // MIR for `main` before GVN
|
|
|
|
+ // MIR for `main` after GVN
|
2020-04-04 12:15:01 -05:00
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
|
|
|
let _1: ();
|
|
|
|
let mut _2: ((), u8, u8);
|
2023-12-02 14:36:48 -06:00
|
|
|
let mut _3: ();
|
2020-04-04 12:15:01 -05:00
|
|
|
|
|
|
|
bb0: {
|
2023-12-02 14:36:48 -06:00
|
|
|
StorageLive(_1);
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_2);
|
2023-12-02 14:36:48 -06:00
|
|
|
StorageLive(_3);
|
2023-09-20 16:43:33 -05:00
|
|
|
- _3 = ();
|
2023-12-02 14:36:48 -06:00
|
|
|
- _2 = (move _3, const 0_u8, const 0_u8);
|
2023-09-20 16:43:33 -05:00
|
|
|
+ _3 = const ();
|
2023-02-08 15:05:56 -06:00
|
|
|
+ _2 = const ((), 0_u8, 0_u8);
|
2023-12-02 14:36:48 -06:00
|
|
|
StorageDead(_3);
|
|
|
|
- _1 = encode(move _2) -> [return: bb1, unwind continue];
|
2023-02-08 15:05:56 -06:00
|
|
|
+ _1 = encode(const ((), 0_u8, 0_u8)) -> [return: bb1, unwind continue];
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageDead(_2);
|
2023-12-02 14:36:48 -06:00
|
|
|
StorageDead(_1);
|
|
|
|
_0 = const ();
|
2023-06-06 08:47:00 -05:00
|
|
|
return;
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
2023-09-12 04:33:58 -05:00
|
|
|
+ }
|
|
|
|
+
|
2023-10-15 12:00:11 -05:00
|
|
|
+ ALLOC0 (size: 2, align: 1) {
|
2023-09-12 04:33:58 -05:00
|
|
|
+ 00 00 │ ..
|
2020-04-04 12:15:01 -05:00
|
|
|
}
|
|
|
|
|