diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-11-03 13:16:03 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-11-10 10:14:12 -0800 |
commit | 5731381594e07cead545c442db686f853ba59e8e (patch) | |
tree | 4ff0e979dd8050849108283fa1acd0471d7563b2 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 5aa6038a407451da2ca5438c5b03c40aa4c72aad (diff) | |
download | llvm-5731381594e07cead545c442db686f853ba59e8e.zip llvm-5731381594e07cead545c442db686f853ba59e8e.tar.gz llvm-5731381594e07cead545c442db686f853ba59e8e.tar.bz2 |
[InstCombine] Relax and reorganize one use checks in the ~(a | b) & c
Since there is just a single check for LHS in ~(A | B) & C | ...
transforms and multiple RHS checks inside with more coming I am
removing m_OneUse checks for LHS and adding new checks for RHS.
This is non essential as long as there is total benefit.
In addition (~(A | B) & C) | (~(A | C) & B) --> (B ^ C) & ~A
checks were overly restrictive, it should be good without any
additional checks.
Differential Revision: https://reviews.llvm.org/D113141
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions