llvm.org GIT mirror llvm / ac0d6fe
[RISCV] Fix rL356123 The wrong version of the patch was committed. This fixes typos that broke the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356124 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Bradbury 1 year, 8 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3535 if (MF->getFunction().hasFnAttribute("interrupt")) {
3636 if (Subtarget.hasStdExtD())
3737 return CSR_XLEN_F64_Interrupt_SaveList;
38 if (Subtarget..hasStdExtF())
38 if (Subtarget.hasStdExtF())
3939 return CSR_XLEN_F32_Interrupt_SaveList;
4040 return CSR_Interrupt_SaveList;
4141 }
118118 const uint32_t *
119119 RISCVRegisterInfo::getCallPreservedMask(const MachineFunction & MF,
120120 CallingConv::ID /*CC*/) const {
121 auto &Subtarget = MF->getSubtarget();
121 auto &Subtarget = MF.getSubtarget();
122122 if (MF.getFunction().hasFnAttribute("interrupt")) {
123123 if (Subtarget.hasStdExtD())
124124 return CSR_XLEN_F64_Interrupt_RegMask;