summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2020-02-20 11:27:36 -0800
committerQuentin Colombet <qcolombet@apple.com>2020-02-20 11:34:01 -0800
commite4a9225f5d10f35cf9cf3664bb93620880228782 (patch)
tree6e25064a07c34c4c0ff9bb4c401428de47afa3cf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2f56789c8fe8edb57bc7a193592ecd35a393fe4a (diff)
[GISel][KnownBits] Give up on PHI analysis as soon as we don't know anything
When analyzing PHIs, we gather the known bits for every operand and merge them together to get the known bits of the result of the PHI. It is not unusual that merging the information leads to know nothing on the result (e.g., phi a: i8 3, b: i8 unknown, ..., after looking at the second argument we know we will know nothing on the result), thus, as soon as we reach that state, stop analyzing the following operand (i.e., on the previous example, we won't process anything after looking at `b`). This improves compile time in particular with PHIs with a large number of operands. NFC.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions