[PATCH] D70401: [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs
Wang Pengcheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 7 03:19:06 PDT 2023
wangpc added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:908
static const MCPhysReg CSRegs[] = { RISCV::X1, /* ra */
RISCV::X5, RISCV::X6, RISCV::X7, /* t0-t2 */
----------------
zixuan-wu wrote:
> Hi, @wangpc it's hidden bug that out of range registers are saved/restored in prologue/epilogue
Thanks! We don't need to save X16-X31 for interrupt functions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70401/new/
https://reviews.llvm.org/D70401
More information about the cfe-commits
mailing list