[PATCH] D70401: [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 02:10:45 PDT 2023


zixuan-wu 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 */
----------------
Hi, @wangpc it's hidden bug that out of range registers are saved/restored in prologue/epilogue


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