summary refs log tree commit diff
path: root/src/test/mir-opt/matches_reduce_branches.foo.MatchBranchSimplification.32bit.diff
AgeCommit message (Collapse)AuthorLines
2020-10-21Introduce a temporary for discriminant value in MatchBranchSimplificationTomasz Miąsko-1/+5
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.
2020-10-20Disable MatchBranchSimplificationTomasz Miąsko-11/+11
This optimization can result in unsoundness, because it introduces additional uses of a place holding the discriminant value without ensuring that it is valid to do so.
2020-09-17Rename 32 bit mir files to be more tool friendlyNixon Enraght-Moony-0/+42
See #75746