[DAGCombine] add tests for bswap-shift optimization
authorChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Tue, 29 Mar 2022 08:34:52 +0000 (16:34 +0800)
committerChenbing Zheng <Chenbing.Zheng@streamcomputing.com>
Tue, 29 Mar 2022 08:34:52 +0000 (16:34 +0800)
commit6a01b676cfb227bf7ca8a7b6ff1b466e33a33d1f
tree29343eeb6923b3b3715735dc9e2dc579490cea64
parent6e56d049db9938cc3c64ab23ac45a77153f73224
[DAGCombine] add tests for bswap-shift optimization

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D121504
llvm/test/CodeGen/RISCV/bswap-shift.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/combine-bswap.ll