summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorChen Zheng <czhengsz@cn.ibm.com>2022-10-13 01:49:02 +0000
committerChen Zheng <czhengsz@cn.ibm.com>2022-10-19 01:11:58 +0000
commitdf9d60af1f9fa44f411b656bbc691d950c6fc087 (patch)
treee282941bb376f378438a3a6f1bab266e5e87dcb5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent13d6a57cbe2776c4873302c0cf04e27b77bd2862 (diff)
[PowerPC] handle more than two predecessors loop header in ctrloop pass
After ISEL, the "valid" loop header which has two predecessors (one is preheader and the other one is latch) may be transformed to have more than two predecessors by some optimizations, like tail duplicator, if the old header's successor(will be changed to new header) is a sub loop. The predecessors of the new loop header are preheader, loop latch and the loop latch(es) of the sub loop(old header's successor). Before the patch, ctrloop pass assumes two predecessors for candidate loop header. This patch fixes this case. Reviewed By: lkail Differential Revision: https://reviews.llvm.org/D135846
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions