aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPawe Bylica <chfast@gmail.com>2022-01-21 00:56:38 +0100
committerPaweł Bylica <chfast@gmail.com>2022-01-21 01:25:30 +0100
commit1d7604fdcebda9cc431b7f19c2f4cb769efdca02 (patch)
treeb9fb5eb8dbd4c5060350dd7625b5c9318d7d0124 /lldb/source/Plugins/ScriptInterpreter/Python
parent37e0c58559ad367f16960fd65c8efb7bb1a6414f (diff)
downloadllvm-1d7604fdcebda9cc431b7f19c2f4cb769efdca02.zip
llvm-1d7604fdcebda9cc431b7f19c2f4cb769efdca02.tar.gz
llvm-1d7604fdcebda9cc431b7f19c2f4cb769efdca02.tar.bz2
[InstCombine] Simplify bswap -> shift
Simplify bswap(x) to shl(x) or lshr(x) if x has exactly one "active byte", i.e. all active bits are contained in boundaries of a single byte of x. https://alive2.llvm.org/ce/z/nvbbU5 https://alive2.llvm.org/ce/z/KiiL3J Reviewed By: spatel, craig.topper, lebedev.ri Differential Revision: https://reviews.llvm.org/D117680
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions