================
@@ -1502,6 +1659,9 @@ void
RISCVFrameLowering::determineCalleeSaves(MachineFunction &MF,
auto *RVFI = MF.getInfo<RISCVMachineFunctionInfo>();
if (RVFI->isPushable(MF) && SavedRegs.test(RISCV::X26))
SavedRegs.set(RISCV::X27);
+
+ // SiFive Preemptible Interrupt Handlers need additional frame entries
+ createSiFivePreemptibleInterruptFrameEntries(MF, *RVFI);
----------------
topperc wrote:
Should this be called from `assignCalleeSavedSpillSlots` rather than
`determineCalleeSaves`. `assignCalleeSavedSpillSlots` is where other stack slot
objects are created.
https://github.com/llvm/llvm-project/pull/132481
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits