Skip to content

Commit

Permalink
put partial mappings to single lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahanxie353 committed Jan 12, 2024
1 parent b192e04 commit 7573a6e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ namespace llvm {
namespace RISCV {

const RegisterBankInfo::PartialMapping PartMappings[] = {
{0, 32, GPRBRegBank}, {0, 64, GPRBRegBank}, {0, 32, FPRBRegBank},
{0, 64, FPRBRegBank}, {0, 64, VRBRegBank}, {0, 128, VRBRegBank},
{0, 256, VRBRegBank}, {0, 512, VRBRegBank},
{0, 32, GPRBRegBank},
{0, 64, GPRBRegBank},
{0, 32, FPRBRegBank},
{0, 64, FPRBRegBank},
{0, 64, VRBRegBank},
{0, 128, VRBRegBank},
{0, 256, VRBRegBank},
{0, 512, VRBRegBank},
};

enum PartialMappingIdx {
Expand Down

0 comments on commit 7573a6e

Please sign in to comment.