[llvm] [RISCV] Disable shrink wrapping for SiFive CLIC preemptible handlers (PR #218347)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 10:46:10 PDT 2026
================
@@ -2647,6 +2647,9 @@ bool RISCVFrameLowering::restoreCalleeSavedRegisters(
}
bool RISCVFrameLowering::enableShrinkWrapping(const MachineFunction &MF) const {
+ if (MF.getInfo<RISCVMachineFunctionInfo>()->isSiFivePreemptibleInterrupt(MF))
----------------
lenary wrote:
This *should* be disabled for all interrupt kinds, not just SiFive.
https://github.com/llvm/llvm-project/pull/218347
More information about the llvm-commits
mailing list