[RISCV][GISel] Suppport G_BSWAP with Zbb.
commit1343d96ec10af9760bc25f5f2c2258269de18c2d
authorCraig Topper <craig.topper@sifive.com>
Thu, 23 Nov 2023 08:12:30 +0000 (23 00:12 -0800)
committerCraig Topper <craig.topper@sifive.com>
Thu, 23 Nov 2023 08:39:42 +0000 (23 00:39 -0800)
tree87c4610cc4fa781e490f14bbc3690cf95018444f
parent1c68c4c57a65a67963264878bc4646be8b58854c
[RISCV][GISel] Suppport G_BSWAP with Zbb.
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/bswap-rv32.mir [new file with mode: 0644]
llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/bswap-rv64.mir [new file with mode: 0644]
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bswap-rv32.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bswap-rv64.mir