Files
rust/compiler/rustc_mir_transform/src
Tomasz Miąsko 1be1c2ebcf Fix insertion of statements to be executed along return edge in inlining
Inlining creates additional statements to be executed along the return
edge: an assignment to the destination, storage end for temporaries.

Previously those statements where inserted directly into a call target,
but this is incorrect when the target has other predecessors.

Avoid the issue by creating a new dedicated block for those statements.
When the block happens to be redundant it will be removed by CFG
simplification that follows inlining.

Fixes #117355
2023-11-20 09:27:30 +01:00
..
2023-11-15 21:45:48 -05:00
2023-09-26 09:37:55 +02:00
2023-10-20 21:10:38 +00:00
2023-10-20 21:14:01 +00:00
2023-05-17 12:18:55 +00:00
2023-10-20 21:14:01 +00:00
2023-10-21 12:14:17 +00:00
2023-10-20 21:10:38 +00:00
2023-11-15 21:45:48 -05:00
2023-10-31 11:44:23 +00:00
2023-10-05 18:56:30 +03:00
2023-11-17 09:29:48 +00:00
2023-11-14 17:07:34 +01:00