rust/src/test/mir-opt/inline
bors 0b65a3d0a6 Auto merge of #76123 - tmiasko:inline-args-storage, r=wesleywiser
inliner: Emit storage markers for introduced arg temporaries

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.

Fixes #71793.
2020-09-14 02:13:02 +00:00
..
inline-any-operand.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-async.rs inliner: Avoid query cycles when optimizing generators 2020-09-02 00:00:00 +00:00
inline-closure-borrows-arg.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-closure-captures.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-closure.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-compatibility.rs inliner: Add mir-opt tests for codegen attributes compatibility 2020-09-04 00:00:00 +00:00
inline-into-box-place.rs compiletest: ignore-endian-big, fixes #74829, fixes #74885 2020-07-31 12:58:37 +01:00
inline-retag.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-specialization.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-trait-method.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline-trait-method_2.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
inline_any_operand.bar.Inline.after.mir inliner: Emit storage markers for introduced arg temporaries 2020-09-03 17:01:27 +02:00
inline_closure.foo.Inline.after.mir inliner: Emit storage markers for introduced arg temporaries 2020-09-03 17:01:27 +02:00
inline_closure_borrows_arg.foo.Inline.after.mir inliner: Emit storage markers for introduced arg temporaries 2020-09-03 17:01:27 +02:00
inline_closure_captures.foo.Inline.after.mir inliner: Emit storage markers for introduced arg temporaries 2020-09-03 17:01:27 +02:00
inline_compatibility.inlined_no_sanitize.Inline.diff inliner: Add mir-opt tests for codegen attributes compatibility 2020-09-04 00:00:00 +00:00
inline_compatibility.inlined_target_feature.Inline.diff inliner: Add mir-opt tests for codegen attributes compatibility 2020-09-04 00:00:00 +00:00
inline_compatibility.not_inlined_no_sanitize.Inline.diff inliner: Add mir-opt tests for codegen attributes compatibility 2020-09-04 00:00:00 +00:00
inline_compatibility.not_inlined_target_feature.Inline.diff inliner: Add mir-opt tests for codegen attributes compatibility 2020-09-04 00:00:00 +00:00
inline_into_box_place.main.Inline.diff.32bit pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
inline_into_box_place.main.Inline.diff.64bit pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
inline_retag.bar.Inline.after.mir Suppress "const" prefix of FnDef in MIR dump 2020-08-21 00:36:49 +00:00
inline_specialization.main.Inline.diff pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
inline_trait_method.test.Inline.after.mir Suppress "const" prefix of FnDef in MIR dump 2020-08-21 00:36:49 +00:00
inline_trait_method_2.test2.Inline.after.mir Suppress "const" prefix of FnDef in MIR dump 2020-08-21 00:36:49 +00:00
issue-58867-inline-as-ref-as-mut.rs add crate name to mir dumps 2020-07-29 13:41:11 +02:00
issue_58867_inline_as_ref_as_mut.a.Inline.after.mir Move mir-opt tests to toplevel 2020-07-29 17:36:03 +02:00
issue_58867_inline_as_ref_as_mut.b.Inline.after.mir pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue_58867_inline_as_ref_as_mut.c.Inline.after.mir Move mir-opt tests to toplevel 2020-07-29 17:36:03 +02:00
issue_58867_inline_as_ref_as_mut.d.Inline.after.mir pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00