We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bdd8b commit 474037dCopy full SHA for 474037d
llvm/lib/Target/RISCV/RISCVRegisterInfo.h
@@ -52,6 +52,12 @@ struct RISCVRegisterInfo : public RISCVGenRegisterInfo {
52
bool trackLivenessAfterRegAlloc(const MachineFunction &) const override {
53
return true;
54
}
55
+
56
+ const TargetRegisterClass *
57
+ getPointerRegClass(const MachineFunction &MF,
58
+ unsigned Kind = 0) const override {
59
+ return &RISCV::GPRRegClass;
60
+ }
61
};
62
63
0 commit comments