r374467 - Fix help message for -ffp-contract
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 15:43:00 PDT 2019
Author: yaxunl
Date: Thu Oct 10 15:43:00 2019
New Revision: 374467
URL: http://llvm.org/viewvc/llvm-project?rev=374467&view=rev
Log:
Fix help message for -ffp-contract
Differential Revision: https://reviews.llvm.org/D68823
Modified:
cfe/trunk/include/clang/Driver/Options.td
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=374467&r1=374466&r2=374467&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu Oct 10 15:43:00 2019
@@ -1147,7 +1147,8 @@ def ftrapping_math : Flag<["-"], "ftrapp
def fno_trapping_math : Flag<["-"], "fno-trapping-math">, Group<f_Group>, Flags<[CC1Option]>;
def ffp_contract : Joined<["-"], "ffp-contract=">, Group<f_Group>,
Flags<[CC1Option]>, HelpText<"Form fused FP ops (e.g. FMAs): fast (everywhere)"
- " | on (according to FP_CONTRACT pragma, default) | off (never fuse)">, Values<"fast,on,off">;
+ " | on (according to FP_CONTRACT pragma) | off (never fuse). Default"
+ " is 'fast' for CUDA/HIP and 'on' otherwise.">, Values<"fast,on,off">;
def fstrict_float_cast_overflow : Flag<["-"],
"fstrict-float-cast-overflow">, Group<f_Group>, Flags<[CC1Option]>,
More information about the cfe-commits
mailing list