diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-11-11 18:59:03 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-11-11 19:07:07 +0100 |
| commit | 84e273cced851075df46c78362ad3507a4de61d0 (patch) | |
| tree | 4878aa7e244f2a180d37eae5c3ac2f549e29a354 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
| parent | b57c22ade8673d68088f5638a1050e3f3c1f163d (diff) | |
| download | llvm-84e273cced851075df46c78362ad3507a4de61d0.zip llvm-84e273cced851075df46c78362ad3507a4de61d0.tar.gz llvm-84e273cced851075df46c78362ad3507a4de61d0.tar.bz2 | |
[InstCombine] Handle undefs in and of icmp eq zero fold
For the scalar/splat case, this fold is subsumed by
foldLogOpOfMaskedICmps(). However, the conjugated fold for "or"
also supports splats with undef. Make both code paths consistent
by using m_ZeroInt() for the "and" implementation as well.
https://alive2.llvm.org/ce/z/tN63cu
https://alive2.llvm.org/ce/z/ufB_Ue
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
