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

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

20 lines
399 B
Diff
Raw Normal View History

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