diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-02-15 12:33:14 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-02-15 12:33:16 -0800 |
commit | eb75f250feb6822d57be95e8535e28724cde6e9d (patch) | |
tree | 6cf9be624de6923f861d5f485df5d913783a57dd /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | c2123a82cd0076c548d2b8c2acc14408681d7f89 (diff) | |
download | llvm-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