Separately eliminate self-assignments
This commit is contained in:
parent
ae5553d7b0
commit
114252410d
3 changed files with 62 additions and 6 deletions
|
|
@ -34,6 +34,7 @@ fn main() {
|
|||
// Make sure the function actually gets instantiated.
|
||||
foo(0);
|
||||
bar(0);
|
||||
baz(0);
|
||||
}
|
||||
|
||||
// END RUST SOURCE
|
||||
|
|
@ -112,4 +113,4 @@ fn main() {
|
|||
// _0 = ();
|
||||
// return;
|
||||
// }
|
||||
// END rustc.baz.CopyPropagation.after.mir
|
||||
// END rustc.baz.CopyPropagation.after.mir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue