about summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_arm.id_try.SimplifyBranchSame.diff
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-89/+0
2022-08-22bless mir-opt testsNilstrieb-6/+6
2022-08-02Avoid invalidating the CFG in MirPatch.Jakob Degen-4/+0
As a part of this change, we adjust MirPatch to not needlessly create unnecessary resume blocks.
2022-07-28bless mir opt testsNilstrieb-55/+55
2022-05-30validate derefer, run derefer inside generatorouz-a-0/+4
2022-04-11Fix tests broken by deaggregation changeJakob Degen-21/+39
2022-02-27Only create a single expansion for each inline integration.Camille GILLOT-5/+5
2021-08-25Fix debugger stepping behavior around `match` expressionsWesley Wiser-3/+3
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-48/+43
`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-6/+6
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 from rebaseMatthew Jasper-8/+8
2020-10-06Fix tests and bootstrapMatthew Jasper-7/+7
2020-10-04Bless mir-opt testsAaron Hill-1/+1
2020-08-16Implement 'considered equal' for statements, so that for example `_0 = _1` ↵Simon Vandel Sillesen-64/+32
and `discriminant(_0) = discriminant(0)` are considered equal if 0 is a fieldless variant of an enum
2020-07-29Move mir-opt tests to toplevelXavier Denis-0/+108