[llvm-branch-commits] [llvm] CodeGen: Synthesize "float-abi" module flag from -float-abi (PR #215795)

Saleem Abdulrasool via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 12 10:47:11 PDT 2026


================
@@ -270,7 +270,9 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() {
   CGBINDOPT(EnableHonorSignDependentRoundingFPMath);
 
   static cl::opt<FloatABI::ABIType> FloatABIForCalls(
-      "float-abi", cl::desc("Choose float ABI type"),
+      "float-abi",
+      cl::desc(
+          "Choose float ABI type (writes the \"float-abi\" IR module flag)"),
----------------
compnerd wrote:

I'm not sure I see the value in this bit of change. Should we have every single option specify what it does the module?

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


More information about the llvm-branch-commits mailing list