[clang] [llvm] [RISCV] Add partial support for -fzero-call-used-regs (PR #194883)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 29 09:26:57 PDT 2026


================
@@ -4977,7 +4977,7 @@ defm raw_string_literals : BoolFOption<"raw-string-literals",
 def fzero_call_used_regs_EQ
     : Joined<["-"], "fzero-call-used-regs=">, Group<f_Group>,
     Visibility<[ClangOption, CC1Option]>,
-      HelpText<"Clear call-used registers upon function return (AArch64/x86 only)">,
+      HelpText<"Clear call-used registers upon function return (AArch64/RISCV/x86 only)">,
----------------
topperc wrote:

RISC-V

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


More information about the cfe-commits mailing list