[PATCH] D154576: [RISCV] RISCV vector calling convention (1/2)

Brandon Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 21:37:38 PDT 2023


4vtomat added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVCallingConv.td:52
 // Same as CSR_Interrupt, but including all 64-bit FP registers.
 def CSR_XLEN_F64_Interrupt: CalleeSavedRegs<(add CSR_Interrupt,
                                              (sequence "F%u_D", 0, 31))>;
----------------
wangpc wrote:
> Should we add CSRs for interrupt functions? And Should we save `vtype`, `vstart`, `vxrm`, `vxsat`, etc. registers?
Yeah, we should also handle these in interrupt function, but seems it's not related to this patch. Am I right? @kito-cheng


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154576/new/

https://reviews.llvm.org/D154576



More information about the cfe-commits mailing list