[llvm] [RISCV] Support floating point registers with -fzero-call-used-regs (PR #204929)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 13:47:40 PDT 2026


================
@@ -24,6 +25,7 @@ CCAssignFn RetCC_RISCV;
 namespace RISCV {
 
 ArrayRef<MCPhysReg> getArgGPRs(const RISCVABI::ABI ABI);
----------------
lenary wrote:

This is probably something for a follow-up NFC: can we align the signatures here so `getArgGPRs` takes a `const RISCVSubtarget &` too? I think one is available at all call-sites.

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


More information about the llvm-commits mailing list