summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-05-22 11:19:30 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-05-25 20:47:17 +0200
commit9c91614959f31d743470c1cb2f4828abd8fcb517 (patch)
tree9be2ed4efa6d53b5f8fd9001a64470dd2e0a37dc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc9dd29925f0c27cb59700b9933c41360d21350d3 (diff)
[CVP] Guard against poison in common phi value transform (PR50399)
The common phi value transform replaces constants with values that have the same value as the constant on a given edge. However, LVI generally only provides information that is correct up to poison, so this can end up replacing a well-defined value with poison. D69442 addressed an instance of this problem by clearing poison flags on the generating instruction, which was sufficient at the time. rGa917fb89dc28 made LVI's edge value analysis slightly more powerful, and clearing poison flags is no longer sufficient. This patch changes the transform to instead explicitly guard against a poison value instead. This should be satisfied for most cases due to a prior branch on poison. Fixes https://bugs.llvm.org/show_bug.cgi?id=50399. Differential Revision: https://reviews.llvm.org/D102966
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions