about summary refs log tree commit diff
path: root/tests/mir-opt/inline/inline_into_box_place.main.Inline.panic-unwind.diff
AgeCommit message (Collapse)AuthorLines
2023-11-20Fix insertion of statements to be executed along return edge in inliningTomasz Miąsko-222/+0
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-10-04Remove mir::LocalDecl::internal.Camille GILLOT-0/+10
2023-08-24make MIR less verboseRalf Jung-1/+1
2023-08-24bless more mir-opt tests by handRalf Jung-1/+1
2023-07-19Turn copy into moves during DSE.Camille GILLOT-2/+2
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-1/+1
It makes it sound like the `ExprKind` and `Rvalue` are supposed to represent all pointer related casts, when in reality their just used to share a some enum variants. Make it clear there these are only coercion to make it clear why only some pointer related "casts" are in the enum.
2023-06-23Bless testsGary Guo-1/+1
2023-06-16Ignore the always part of #[inline(always)] in MIR inliningBen Kimock-7/+152
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-53/+39
2023-06-12bless mir-optPietro Albini-0/+81
To reproduce the changes in this commit locally: - Run `./x test tidy` and remove all the output files not associated with a test file anymore, as reported by tidy. - Run `./x test tests/mir-opt --bless` to generate the new outputs.