summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2019-10-10 22:43:00 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2019-10-10 22:43:00 +0000
commit181928b01a4a4341453f0a5ddddab5a4d5fea728 (patch)
tree2b84998d0029ef11415f24caeab70025c9a3de18 /include
parent005fa4c20da15aede1303138bb0ea0b32f8fb31a (diff)
downloadclang-181928b01a4a4341453f0a5ddddab5a4d5fea728.tar.gz
Fix help message for -ffp-contract
Differential Revision: https://reviews.llvm.org/D68823 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Driver/Options.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td
index 1374d3fb32..09507dfab4 100644
--- a/include/clang/Driver/Options.td
+++ b/include/clang/Driver/Options.td
@@ -1147,7 +1147,8 @@ def ftrapping_math : Flag<["-"], "ftrapping-math">, Group<f_Group>, Flags<[CC1Op
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]>,