about summary refs log tree commit diff
path: root/src/test/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-65/+0
2022-11-02Ban dashes in miropt test file namesJakob Degen-55/+55
2022-09-13Use tcx.hir() utils for spans in MIR building.Camille GILLOT-2/+2
This corrects the `span_with_body` in the case of closures, which was incorrectly shortened to the `def_span`.
2022-08-23./x.py test --blessTomasz Miąsko-4/+0
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-59/+59
2022-07-12add new rval, pull deref earlyouz-a-2/+2
2022-07-07Shorten span for closures.Camille GILLOT-4/+4
2022-05-30validate derefer, run derefer inside generatorouz-a-0/+4
2022-04-16fix CI errouz-a-0/+1
2022-04-16Make derefer work everwhereouz-a-3/+10
Co-Authored-By: Oli Scherer <332036+oli-obk@users.noreply.github.com>
2022-04-11Fix tests broken by deaggregation changeJakob Degen-0/+3
2022-02-27Only create a single expansion for each inline integration.Camille GILLOT-13/+13
2021-03-06Disable destination propagation on all mir-opt-levelsTomasz Miąsko-4/+8
2020-10-27Show the inline stack of MIR lints that only occur after inliningOliver Scherer-9/+9
2020-10-21rustc_mir: create the Integrator as soon as possible in MIR inlining.Eduard-Mihai Burtescu-10/+10
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-1/+1
2020-09-28pretty.rs: Update Closure and Generator printAman Arora-2/+2
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com> Co-authored-by: Logan Mosier <logmosier@gmail.com>
2020-09-25Move from {{closure}}#0 syntax to {closure#0} for (def) path componentsmarmeladema-2/+2
2020-09-18Bless mir-opt testsJonas Schievink-14/+10
2020-09-03inliner: Emit storage markers for introduced arg temporariesTomasz Miąsko-0/+2
When introducing argument temporaries during inlining, emit storage marker statements just before the assignment and in the beginning of the return block. This ensures that such temporaries will not be considered live across yield points after inlining inside a generator.
2020-08-11move Deaggregate pass to post_borrowck_cleanupRalf Jung-10/+3
2020-07-29Move mir-opt tests to toplevelXavier Denis-0/+63