================
@@ -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:

Do we need to consider these frame indices in the `MinCSFrameIndex` and 
`MaxCSFrameIndex` returned by `assignCalleeSavedSpillSlots`?

https://github.com/llvm/llvm-project/pull/132481
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to