summary refs log tree commit diff
path: root/src/test/mir-opt/matches_reduce_branches.foo.MatchBranchSimplification.diff.32bit
AgeCommit message (Collapse)AuthorLines
2020-08-20Suppress MIR comments of Unit typeLzu Tao-6/+0
2020-08-17Update MIR tests with comment verbosity fixAustin Lasher-18/+0
2020-08-15MatchBranchSimplification: fix equal const bool assignmentsTomasz Miąsko-12/+12
The match branch simplification is applied when target blocks contain statements that are either equal or perform a const bool assignment with different values to the same place. Previously, when constructing new statements, only statements from a single block had been examined. This lead to a misoptimization when statements are equal because the assign the *same* const bool value to the same place. Fix the issue by examining statements from both blocks when deciding on replacement.
2020-08-14MatchBranchSimplification: copy discriminant instead of moving itTomasz Miąsko-1/+1
It might be necessary to use its value more than once.
2020-08-13Add 64bit / 32bit fileskadmin-0/+66