[PATCH] D89449: [RISCV] Initial infrastructure for code generation of the RISC-V V-extension

PeiHsiangHung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 01:08:50 PDT 2020


NickHung added a comment.





================
Comment at: llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp:94
+  // V registers for code generation. We handle them manually.
+  markSuperRegs(Reserved, RISCV::VL);
+  markSuperRegs(Reserved, RISCV::VTYPE);
----------------
The reserved VL and VTYPE would immediately dead after implicit def. How do you support the calling convention?  Both CSRs are caller-saved.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D89449



More information about the llvm-commits mailing list