aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h
diff options
context:
space:
mode:
authorZhongyunde <zhongyunde@huawei.com>2023-04-25 21:47:41 +0800
committerZhongyunde <zhongyunde@huawei.com>2023-04-25 21:51:41 +0800
commitb80f31c48d63743ece1062f30d5f747a03ee5695 (patch)
tree2015bfdf4fa6398e6f2c23da57e58f4d25a84d4b /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h
parent9d92f479c3fb708ea0cad8aa6fa70fd46f753123 (diff)
downloadllvm-b80f31c48d63743ece1062f30d5f747a03ee5695.zip
llvm-b80f31c48d63743ece1062f30d5f747a03ee5695.tar.gz
llvm-b80f31c48d63743ece1062f30d5f747a03ee5695.tar.bz2
[InstSimplify] with logical ops: (X | Y) ? 0 : X --> 0
Use simplifySelectWithICmpEq to handle the implied equalities from the icmp-or, then both of ICMP_NE and ICMP_EQ will be addressed (X | Y) == 0 ? X : 0 --> 0 (commuted 2 ways) (X | Y) != 0 ? 0 : X --> 0 (commuted 2 ways) Fixes https://github.com/llvm/llvm-project/issues/62263 Reviewed By: nikic, RKSimon Differential Revision: https://reviews.llvm.org/D148986
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h')
0 files changed, 0 insertions, 0 deletions