aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-01-24 08:17:45 -0800
committerCraig Topper <craig.topper@sifive.com>2022-01-24 08:17:46 -0800
commitb8c7cdcc81a04613d01b1f468d510959f1e66416 (patch)
treee1756f2674eb206b97e507e1e2aaf2103edd12d9 /lldb/source/Plugins/ScriptInterpreter/Python
parentcd2a9ff39788578f419d41f32d046150462696e2 (diff)
downloadllvm-b8c7cdcc81a04613d01b1f468d510959f1e66416.zip
llvm-b8c7cdcc81a04613d01b1f468d510959f1e66416.tar.gz
llvm-b8c7cdcc81a04613d01b1f468d510959f1e66416.tar.bz2
[SelectionDAG][RISCV] Teach getNode to fold bswap(bswap(x))->x.
This can show up during when bitreverse is expanded to bswap and swap of bits within a byte. If the input is already a bswap, we should cancel them out before we further transform them in a way that makes it harder to see the redundancy. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D118007
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions