@@ -1117,8 +1117,7 @@ def cl_single_precision_constant : Flag<["-"], "cl-single-precision-constant">,
11171117 MarshallingInfoFlag<LangOpts<"SinglePrecisionConstants">>;
11181118def cl_finite_math_only : Flag<["-"], "cl-finite-math-only">, Group<opencl_Group>,
11191119 Visibility<[ClangOption, CC1Option]>,
1120- HelpText<"OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf.">,
1121- MarshallingInfoFlag<LangOpts<"CLFiniteMathOnly">>;
1120+ HelpText<"OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf.">;
11221121def cl_kernel_arg_info : Flag<["-"], "cl-kernel-arg-info">, Group<opencl_Group>,
11231122 Visibility<[ClangOption, CC1Option]>,
11241123 HelpText<"OpenCL only. Generate kernel argument metadata.">,
@@ -2609,13 +2608,12 @@ defm approx_func : BoolFOption<"approx-func", LangOpts<"ApproxFunc">, DefaultFal
26092608 "with an approximately equivalent calculation",
26102609 [funsafe_math_optimizations.KeyPath]>,
26112610 NegFlag<SetFalse, [], [ClangOption, CC1Option, FC1Option, FlangOption]>>;
2612- defm finite_math_only : BoolFOption<"finite-math-only",
2613- LangOpts<"FiniteMathOnly">, DefaultFalse,
2611+ defm finite_math_only : BoolOptionWithoutMarshalling<"f", "finite-math-only",
26142612 PosFlag<SetTrue, [], [ClangOption, CC1Option],
26152613 "Allow floating-point optimizations that "
26162614 "assume arguments and results are not NaNs or +-inf. This defines "
26172615 "the \\_\\_FINITE\\_MATH\\_ONLY\\_\\_ preprocessor macro.",
2618- [cl_finite_math_only.KeyPath, ffast_math.KeyPath]>,
2616+ [ffast_math.KeyPath]>,
26192617 NegFlag<SetFalse>>;
26202618defm signed_zeros : BoolFOption<"signed-zeros",
26212619 LangOpts<"NoSignedZero">, DefaultFalse,
@@ -7815,10 +7813,10 @@ def mreassociate : Flag<["-"], "mreassociate">,
78157813 MarshallingInfoFlag<LangOpts<"AllowFPReassoc">>, ImpliedByAnyOf<[funsafe_math_optimizations.KeyPath]>;
78167814def menable_no_nans : Flag<["-"], "menable-no-nans">,
78177815 HelpText<"Allow optimization to assume there are no NaNs.">,
7818- MarshallingInfoFlag<LangOpts<"NoHonorNaNs">>, ImpliedByAnyOf<[ffinite_math_only .KeyPath]>;
7819- def menable_no_infinities : Flag<["-"], "menable-no-infs">,
7816+ MarshallingInfoFlag<LangOpts<"NoHonorNaNs">>, ImpliedByAnyOf<[ffast_math .KeyPath]>;
7817+ def menable_no_infs : Flag<["-"], "menable-no-infs">,
78207818 HelpText<"Allow optimization to assume there are no infinities.">,
7821- MarshallingInfoFlag<LangOpts<"NoHonorInfs">>, ImpliedByAnyOf<[ffinite_math_only .KeyPath]>;
7819+ MarshallingInfoFlag<LangOpts<"NoHonorInfs">>, ImpliedByAnyOf<[ffast_math .KeyPath]>;
78227820
78237821def pic_level : Separate<["-"], "pic-level">,
78247822 HelpText<"Value for __PIC__">,
0 commit comments