[clang] [llvm] [RISCV] Add Codegen support for ACLIC (PR #238325)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 21:07:09 PST 2026
================
@@ -2825,7 +2832,9 @@ bool RISCVFrameLowering::restoreCalleeSavedRegisters(
}
bool RISCVFrameLowering::enableShrinkWrapping(const MachineFunction &MF) const {
- if (MF.getInfo<RISCVMachineFunctionInfo>()->isACLICPreemptibleInterrupt(MF))
+ const auto *RVFI = MF.getInfo<RISCVMachineFunctionInfo>();
+ if (RVFI->isACLICPreemptibleInterrupt(MF) ||
+ RVFI->isACLICPushPopInterrupt(MF))
return false;
----------------
zeyi2 wrote:
Addressed now, thanks!
https://github.com/llvm/llvm-project/pull/238325
More information about the cfe-commits
mailing list