Changeset View
Changeset View
Standalone View
Standalone View
lib/Target/RISCV/RISCVRegisterInfo.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | if (isInt<12>(Offset)) { | ||||
report_fatal_error( | report_fatal_error( | ||||
"Frame offsets outside of the signed 12-bit range not supported"); | "Frame offsets outside of the signed 12-bit range not supported"); | ||||
} | } | ||||
} | } | ||||
unsigned RISCVRegisterInfo::getFrameRegister(const MachineFunction &MF) const { | unsigned RISCVRegisterInfo::getFrameRegister(const MachineFunction &MF) const { | ||||
return RISCV::X8_32; | return RISCV::X8_32; | ||||
} | } | ||||
const uint32_t * | |||||
RISCVRegisterInfo::getCallPreservedMask(const MachineFunction & /*MF*/, | |||||
CallingConv::ID /*CC*/) const { | |||||
return CSR_RegMask; | |||||
} |