Files
rust/tests/mir-opt/copy-prop
Tomasz Miąsko 6bd1a031ab Turn moves into copies after copy propagation
Previously copy propagation presumed that there is further unspecified
distinction between move operands and copy operands in assignments and
propagated moves from assignments into terminators. This is inconsistent
with current operational semantics.

Turn moves into copies after copy propagation to preserve existing behavior.

Fixes https://github.com/rust-lang/rust/issues/137936.
Fixes https://github.com/rust-lang/rust/issues/146423.
2025-11-20 19:23:10 +01:00
..
2025-10-26 11:57:35 +01:00
2025-10-26 11:57:41 +01:00
2025-10-26 11:57:54 +01:00
2025-10-26 11:58:30 +01:00