diff options
| author | Chenbing Zheng <Chenbing.Zheng@streamcomputing.com> | 2022-07-21 09:54:43 +0800 |
|---|---|---|
| committer | Chenbing Zheng <Chenbing.Zheng@streamcomputing.com> | 2022-07-21 10:08:21 +0800 |
| commit | 8075f680c8fbff9d56055520ded00579b3c45ddc (patch) | |
| tree | 84ea3e68a4c8e8f0fbccdb8d0254dd99c1bc52a9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 82995e0e823f0dd2b72010812ccd15c65749a983 (diff) | |
[InstCombine] add fold (X > C - 1) ^ (X < C + 1) --> X != C
Considering the correctness of this pattern, we should avoid that C - 1
is non-negative and C + 1 is negative.
Alive2: https://alive2.llvm.org/ce/z/c_rBaq
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D129622
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
