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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to