mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
597b4c5bb4
Introduce a temporary for discriminant value in MatchBranchSimplification The optimization introduces additional uses of the discriminant operand, but does not ensure that it is still valid to evaluate it or that it still evaluates to the same value. Evaluate it once at original position, and store the result in a new temporary. Follow up on #78151. The optimization remains disabled by default. Closes #78239. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |