2023-09-20 16:43:33 -05:00
|
|
|
- // MIR for `generic` before GVN
|
|
|
|
+ // MIR for `generic` after GVN
|
2023-06-08 07:11:31 -05:00
|
|
|
|
|
|
|
fn generic() -> () {
|
|
|
|
let mut _0: ();
|
|
|
|
let _1: usize;
|
|
|
|
scope 1 {
|
|
|
|
debug gx => _1;
|
2024-04-28 15:10:09 -05:00
|
|
|
let _2: usize;
|
2023-06-08 07:11:31 -05:00
|
|
|
scope 2 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug gy => _2;
|
|
|
|
let _3: usize;
|
2023-06-08 07:11:31 -05:00
|
|
|
scope 3 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug dx => _3;
|
|
|
|
let _4: usize;
|
2023-06-08 07:11:31 -05:00
|
|
|
scope 4 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug dy => _4;
|
|
|
|
let _5: usize;
|
2023-08-15 14:10:45 -05:00
|
|
|
scope 5 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug zA0 => _5;
|
|
|
|
let _6: usize;
|
2023-08-15 14:10:45 -05:00
|
|
|
scope 6 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug zA1 => _6;
|
|
|
|
let _7: usize;
|
2023-08-15 14:10:45 -05:00
|
|
|
scope 7 {
|
2024-04-28 15:10:09 -05:00
|
|
|
debug zB => _7;
|
2023-08-15 14:10:45 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 07:11:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
|
|
|
StorageLive(_1);
|
2024-04-28 15:10:09 -05:00
|
|
|
_1 = OffsetOf(Gamma<T>, [(0, 0)]);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_2);
|
2024-04-28 15:10:09 -05:00
|
|
|
_2 = OffsetOf(Gamma<T>, [(0, 1)]);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_3);
|
2024-04-28 15:10:09 -05:00
|
|
|
- _3 = OffsetOf(Delta<T>, [(0, 1)]);
|
|
|
|
+ _3 = const 0_usize;
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_4);
|
2024-04-28 15:10:09 -05:00
|
|
|
- _4 = OffsetOf(Delta<T>, [(0, 2)]);
|
|
|
|
+ _4 = const 2_usize;
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_5);
|
2024-04-28 15:10:09 -05:00
|
|
|
_5 = OffsetOf(Zeta<T>, [(0, 0)]);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_6);
|
2024-04-28 15:10:09 -05:00
|
|
|
_6 = OffsetOf(Zeta<T>, [(0, 1)]);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageLive(_7);
|
2024-04-28 15:10:09 -05:00
|
|
|
_7 = OffsetOf(Zeta<T>, [(1, 0)]);
|
2023-06-08 07:11:31 -05:00
|
|
|
_0 = const ();
|
|
|
|
StorageDead(_7);
|
2024-04-28 15:10:09 -05:00
|
|
|
StorageDead(_6);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageDead(_5);
|
2024-04-28 15:10:09 -05:00
|
|
|
StorageDead(_4);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageDead(_3);
|
2024-04-28 15:10:09 -05:00
|
|
|
StorageDead(_2);
|
2023-06-08 07:11:31 -05:00
|
|
|
StorageDead(_1);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|