[clang] [llvm] [RISCV] Add Codegen support for ACLIC (PR #238325)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 8 17:57:24 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list