================
@@ -2282,7 +2395,8 @@ RISCVFrameLowering::getFirstSPAdjustAmount(const 
MachineFunction &MF) const {
   // Disable SplitSPAdjust if save-restore libcall, push/pop or QCI interrupts
   // are used. The callee-saved registers will be pushed by the save-restore
   // libcalls, so we don't have to split the SP adjustment in this case.
-  if (RVFI->getReservedSpillsSize())
+  if (RVFI->getLibCallStackSize() || RVFI->getRVPushStackSize() ||
----------------
zeyi2 wrote:

Added, thanks!

https://github.com/llvm/llvm-project/pull/238325
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to