about summary refs log tree commit diff
path: root/tests/mir-opt/jump_threading.rs
AgeCommit message (Collapse)AuthorLines
2023-11-20Fix insertion of statements to be executed along return edge in inliningTomasz Miąsko-9/+9
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-21FileCheck annotations.Camille GILLOT-20/+209
2023-10-21Rebase fallout.Camille GILLOT-1/+1
2023-10-21Implement JumpThreading pass.Camille GILLOT-0/+291