about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_try.try_identity.SimplifyArmIdentity.diff
AgeCommit message (Collapse)AuthorLines
2021-08-25Fix debugger stepping behavior around `match` expressionsWesley Wiser-2/+2
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-05-06mir-opt & codegen test updatesScott McMurray-72/+64
`SimplifyArm` and such are currently in `-Zunsound-mir-opts` and thus weren't running by default, so having something like them for the new desugar shouldn't be necessary for switching.
2021-02-06path trimming: ignore type aliasesDan Aloni-3/+3
2020-10-27Show the inline stack of MIR lints that only occur after inliningOliver Scherer-14/+14
2020-10-21rustc_mir: don't throw away inlined locals' spans.Eduard-Mihai Burtescu-1/+1
2020-10-21rustc_mir: track inlined callees in SourceScopeData.Eduard-Mihai Burtescu-3/+3
2020-10-06Fix tests and bootstrapMatthew Jasper-1/+1
2020-10-04Bless mir-opt testsAaron Hill-1/+1
2020-10-01Disable the SimplifyArmIdentity mir-optWesley Wiser-50/+50
The optimization still has some bugs that need to be worked out such as #77359. We can try re-enabling this again after the known issues are resolved.
2020-10-01Bless mir-opt tests with new optAntoine Martin-6/+2
2020-09-18simplify_try: clean up testJonas Schievink-51/+51
2020-07-29Move mir-opt tests to toplevelXavier Denis-0/+98