summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>2021-10-09 11:18:31 +0300
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>2021-10-15 13:39:13 +0300
commit7b07c01351407095d9822592e04b0d8233185584 (patch)
tree379d5f594dedadaeaca1b37d0a462284f8fe9b31 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente23351cdc9bc78d06c239dc0de8a4ca70acdef65 (diff)
[InstCombine] Support arbitrary const shift amount for `lshr (sext i1 ...)`
Add lshr (sext i1 X to iN), C --> select (X, -1 >> C, 0) case. This expands C == N-1 case to arbitrary C. Fixes PR52078. Reviewed By: spatel, RKSimon, lebedev.ri Differential Revision: https://reviews.llvm.org/D111330
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions