summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorZhongyunde <zhongyunde@huawei.com>2023-04-26 15:52:28 +0800
committerZhongyunde <zhongyunde@huawei.com>2023-04-26 15:53:02 +0800
commitf9478f729e68af4d32f20a93382f94744141d4a3 (patch)
treee31e4c0f11c048f68c6963561961a6acad6dbc2a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent0f28cecf1bb7e26775aedecd0300e909222ab204 (diff)
[InstSimplify] with logical ops: (X & Y) == -1 ? X : -1 --> -1
Use simplifySelectWithICmpEq to handle the implied equalities from the icmp-and, then both of ICMP_NE and ICMP_EQ will be addressed including vector type. (X & Y) == -1 ? X : -1 --> -1 (commuted 2 ways) (X & Y) != -1 ? -1 : X --> -1 (commuted 2 ways) This is a supplement to the icmp-or scenario on D148986. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D149229
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions