summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2019-02-12 09:59:44 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2019-02-12 09:59:44 +0000
commit2a184af221854262d713b82ea014cfbcc0004b48 (patch)
tree88028514210cfe57745f13b702090e9b28d32af3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent8e0d5ac715a86766966d298a411f67aeba414312 (diff)
downloadbcm5719-llvm-2a184af221854262d713b82ea014cfbcc0004b48.tar.gz
bcm5719-llvm-2a184af221854262d713b82ea014cfbcc0004b48.zip
[IndVars] Fix corner case with unreachable Phi inputs. PR40454
Logic in `getInsertPointForUses` doesn't account for a corner case when `Def` only comes to a Phi user from unreachable blocks. In this case, the incoming value may be arbitrary (and not even available in the input block) and break the loop-related invariants that are asserted below. In fact, if we encounter this situation, no IR modification is needed. This Phi will be simplified away with nearest cleanup. Differential Revision: https://reviews.llvm.org/D58045 Reviewed By: spatel llvm-svn: 353816
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud