diff options
| author | Guozhi Wei <carrot@google.com> | 2023-06-21 18:54:31 +0000 |
|---|---|---|
| committer | Guozhi Wei <carrot@google.com> | 2023-06-21 18:54:31 +0000 |
| commit | 1bcb6a3da231ee3bcf8513880599b5d054f590a4 (patch) | |
| tree | ed54b3b52921ef3a047fb66059fbb14a3031bb2b /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | c172210492f04664b5e2787df7257eb61c76cc4c (diff) | |
[MBP] Enable duplicating return block to remove jump to return
Sometimes LLVM generates branch to return instruction, like PR63227.
It is because in function MachineBlockPlacement::canTailDuplicateUnplacedPreds
we avoid duplicating a BB into another already placed BB to prevent destroying
computed layout. But if the successor BB is a return block, duplicating it will
only reduce taken branches without hurt to any other branches.
Differential Revision: https://reviews.llvm.org/D153093
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
