summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-04-02 10:06:44 +0100
committerFlorian Hahn <flo@fhahn.com>2020-04-02 10:11:27 +0100
commita63b5c9e53199b866b804164285a2c40531b31a1 (patch)
tree396afc1b50072f93d2e2fb9169a6e48d3f93dacd /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent189d2e215f686e5ad1604a2ba437c4c9789b6a36 (diff)
[CallSiteSplitting] Simplify isPredicateOnPHI & continue checking PHIs.
As pointed out by @thakis, currently CallSiteSplitting bails out after checking the first PHI node. We should check all PHI nodes, until we find one where call site splitting is beneficial. This patch also slightly simplifies the code using BasicBlock::phis(). Reviewers: davidxl, junbuml, thakis Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D77089
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions