Skip to content

Commit

Permalink
Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk
Browse files Browse the repository at this point in the history
Enable DestinationPropagation by default.

~~Based on rust-lang/rust#115291

This PR proposes to enable the destination propagation pass by default.
This pass is meant to reduce the amount of copies present in MIR.

At the same time, this PR removes the `RenameReturnPlace` pass, as it is currently unsound.
`DestinationPropagation` is not limited to `_0`, but does not handle borrowed locals.
  • Loading branch information
bors committed May 30, 2024
2 parents f84bbea + 051cb1f commit c9e6650
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c9e6650

Please sign in to comment.