rust/tests/mir-opt/dead-store-elimination/place_mention.main.DeadStoreElimination-initial.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
415 B
Diff
Raw Normal View History

- // MIR for `main` before DeadStoreElimination-initial
+ // MIR for `main` after DeadStoreElimination-initial
2023-04-25 15:09:41 -05:00
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let mut _1: (&str, &str);
2023-04-25 15:09:41 -05:00
scope 1 {
}
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
_1 = (const "Hello", const "World");
PlaceMention(_1);
StorageDead(_1);
_0 = const ();
return;
2023-04-25 15:09:41 -05:00
}
}