[llvm] [RISCV] Support PreserveMost calling convention (PR #148214)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 27 20:54:57 PDT 2025


================
@@ -413,6 +413,8 @@ added in the future:
     - On AArch64 the callee preserve all general purpose registers, except
       X0-X8 and X16-X18. Not allowed with ``nest``.
 
+    - On RISC-V the callee preserve x5-x31 registers.
----------------
wangpc-pp wrote:

I updated the implementation but I am not sure if I understand your comment correctly.

https://github.com/llvm/llvm-project/pull/148214


More information about the llvm-commits mailing list