about summary refs log tree commit diff
path: root/tests/mir-opt/inline/exponential_runtime.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-22/+22
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-06-23Bless testsGary Guo-14/+14
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-121/+80
2023-06-12bless mir-optPietro Albini-0/+175
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.