mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
d627cf07ce
Also consider call and yield as MIR SSA. The SSA analysis on MIR only considered `Assign` statements as defining a SSA local. This PR adds assignments as part of a `Call` or `Yield` terminator in that category. This mainly allows to perform CopyProp on a call return place. The only subtlety is in the dominance property: the assignment is only complete at the beginning of the target block. |
||
---|---|---|
.. | ||
compilation-result.rs | ||
crate-info.rs |