diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2022-04-26 14:22:16 -0400 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2022-04-26 14:26:36 -0400 |
| commit | 903aa5e0f80efd413624a59e37c6ace6cd3cf5cd (patch) | |
| tree | e91b0b018fc4afcdc7494307af94f13976b51073 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 6a9bbd9f20dcd700e28738788bb63a160c6c088c (diff) | |
| download | llvm-903aa5e0f80efd413624a59e37c6ace6cd3cf5cd.zip llvm-903aa5e0f80efd413624a59e37c6ace6cd3cf5cd.tar.gz llvm-903aa5e0f80efd413624a59e37c6ace6cd3cf5cd.tar.bz2 | |
[InstCombine] try to fold icmp with mismatched extended operands
If a value is known to be non-negative and zexted,
that's the same thing as sexted.
So for the purpose of looking past the casts with
an icmp, treat it as if it was a sext:
https://alive2.llvm.org/ce/z/_BDsGV
This is necessary, but not enough to solve the
motivating problem:
https://github.com/llvm/llvm-project/issues/55013
Differential Revision: https://reviews.llvm.org/D124419
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
