diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-11-06 22:15:26 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-11-09 21:05:46 +0100 |
| commit | bb12dededeb6558ddd352b40268692041e0fa02c (patch) | |
| tree | b68295b6d460c786c16222d40a2d0c1d7ed45708 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | |
| parent | 8d499bd5bc1eee4c385b2bda26fc5f415a621207 (diff) | |
| download | llvm-bb12dededeb6558ddd352b40268692041e0fa02c.zip llvm-bb12dededeb6558ddd352b40268692041e0fa02c.tar.gz llvm-bb12dededeb6558ddd352b40268692041e0fa02c.tar.bz2 | |
[InstCombine] Refactor and/or of icmp with constant (NFCI)
Rather than testing for many specific combinations of predicates
and values, compute the exact icmp regions for both comparisons
and check whether they union/intersect exactly. If they do,
construct the equivalent icmp for the new range. Assuming that the
existing code handled all possible cases, this should be NFC.
Differential Revision: https://reviews.llvm.org/D113367
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
