about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_arm_identity.main.SimplifyArmIdentity.32bit.diff
AgeCommit message (Collapse)AuthorLines
2022-09-01Simplify MIR opt testsJakob Degen-61/+0
This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the result of the net result of the optimization pipeline's output is.
2022-07-28bless mir opt testsNilstrieb-34/+34
2022-04-11Fix tests broken by deaggregation changeJakob Degen-0/+3
2021-08-25Fix debugger stepping behavior around `match` expressionsWesley Wiser-4/+4
Previously, we would set up the source lines for `match` expressions so that the code generated to perform the test of the scrutinee was matched to the line of the arm that required the test and then jump from the arm block to the "next" block was matched to all of the lines in the `match` expression. While that makes sense, it has the side effect of causing strange stepping behavior in debuggers. I've changed the source information so that all of the generated tests are sourced to `match {scrutinee}` and the jumps are sourced to the last line of the block they are inside. This resolves the weird stepping behavior in all debuggers and resolves some instances of "ambiguous symbol" errors in WinDbg preventing the user from setting breakpoints at `match` expressions.
2021-03-15bless testsErik Desjardins-1/+1
2020-09-17Rename 32 bit mir files to be more tool friendlyNixon Enraght-Moony-0/+58
See #75746