aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-15 12:33:14 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-15 12:33:16 -0800
commiteb75f250feb6822d57be95e8535e28724cde6e9d (patch)
tree6cf9be624de6923f861d5f485df5d913783a57dd /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentc2123a82cd0076c548d2b8c2acc14408681d7f89 (diff)
downloadllvm-eb75f250feb6822d57be95e8535e28724cde6e9d.zip
llvm-eb75f250feb6822d57be95e8535e28724cde6e9d.tar.gz
llvm-eb75f250feb6822d57be95e8535e28724cde6e9d.tar.bz2
[RISCV][LegalizeTypes] Try to expand BITREVERSE before promoting if the promoted BITREVERSE would expand anyway.
If we're going to end up expanding anyway, we should do it early so we don't create extra operations to handle the bytes added by promotion. Simlilar was done for BSWAP previously. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D96681
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions