Skip to content

Commit

Permalink
Auto merge of rust-lang#77373 - jonas-schievink:rm-rf-copy-prop, r=ol…
Browse files Browse the repository at this point in the history
…i-obk

Remove the old copy propagation pass

This pass was added a long time ago, and has not really seen much improvement since (apart from some great work in rust-lang#76569 that unfortunately ran into preexisting soundness issues). It is slow and unsound, and we now have a destination propagation pass that performs a related optimization and could be extended.

Closes rust-lang#36673
Closes rust-lang#73717
Closes rust-lang#76740
  • Loading branch information
bors committed Oct 17, 2020
2 parents 6af9846 + dc31777 commit ffeeb20
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 642 deletions.
384 changes: 0 additions & 384 deletions compiler/rustc_mir/src/transform/copy_prop.rs

This file was deleted.

Loading

0 comments on commit ffeeb20

Please sign in to comment.