diff options
| author | Florian Hahn <flo@fhahn.com> | 2020-04-02 10:06:44 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2020-04-02 10:11:27 +0100 |
| commit | a63b5c9e53199b866b804164285a2c40531b31a1 (patch) | |
| tree | 396afc1b50072f93d2e2fb9169a6e48d3f93dacd /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 189d2e215f686e5ad1604a2ba437c4c9789b6a36 (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
