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

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 28 10:48:27 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.
----------------
lenary wrote:

(the load and the store should be on different sides of the call)

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


More information about the llvm-commits mailing list