diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-13 19:04:49 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-13 19:04:49 +0800 |
| commit | 1ef9d699d3160a9f79e89f423352fbb8d43e70d7 (patch) | |
| tree | 4f09997dbf17124c1ea5572b01f7061b1493c0c8 /backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp | |
| parent | 1ecaa5028a39cdfd9b9590053d802e8049d346d5 (diff) | |
| download | rcc-project-1ef9d699d3160a9f79e89f423352fbb8d43e70d7.tar.gz rcc-project-1ef9d699d3160a9f79e89f423352fbb8d43e70d7.tar.xz | |
[RISCV] Match LLVM register bank mappings
Diffstat (limited to 'backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp')
| -rw-r--r-- | backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp index 3d5ea2a..a7160b4 100644 --- a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp +++ b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp @@ -139,7 +139,7 @@ public: [[nodiscard]] Expected<void> constrainSelectedInstruction(MachineInstr &Instruction, MachineFunction &Function, const TargetDescription &Target) const override { - return RegisterBanks.constrainInstruction(Instruction, Function, Target); + return RegisterBanks.constrainSelectedInstruction(Instruction, Function, Target); } [[nodiscard]] Expected<void> canSelect(const MachineInstr &Instruction, |
