diff options
| author | bors <bors@rust-lang.org> | 2023-01-29 13:01:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-29 13:01:06 +0000 |
| commit | 2a4b00beaa208388c2f140866674605aceab0fe9 (patch) | |
| tree | a19eba4488f2e2e77a316d35c669a61f98f1ff55 /src/tools/publish_toolstate.py | |
| parent | d117135f5a9b69ee3adfb1918aa25616758bf692 (diff) | |
| parent | 263da251af6b1735487add274a4ed09487c69412 (diff) | |
| download | rust-2a4b00beaa208388c2f140866674605aceab0fe9.tar.gz rust-2a4b00beaa208388c2f140866674605aceab0fe9.zip | |
Auto merge of #106908 - cjgillot:copyprop-ssa, r=oli-obk
Implement simple CopyPropagation based on SSA analysis This PR extracts the "copy propagation" logic from https://github.com/rust-lang/rust/pull/106285. MIR may produce chains of assignment between locals, like `_x = move? _y`. This PR attempts to remove such chains by unifying locals. The current implementation is a bit overzealous in turning moves into copies, and in removing storage statements.
Diffstat (limited to 'src/tools/publish_toolstate.py')
0 files changed, 0 insertions, 0 deletions
