Skip to content

Commit ffad8ef

Browse files
committed
add fast-math flag in clang-cl
1 parent d6f4a89 commit ffad8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ def ffp_exception_behavior_EQ : Joined<["-"], "ffp-exception-behavior=">, Group<
15421542
MarshallingInfoEnum<LangOpts<"FPExceptionMode">, "FPE_Ignore">;
15431543
defm fast_math : BoolFOption<"fast-math",
15441544
LangOpts<"FastMath">, DefaultFalse,
1545-
PosFlag<SetTrue, [CC1Option], "Allow aggressive, lossy floating-point optimizations",
1545+
PosFlag<SetTrue, [CC1Option, CoreOption], "Allow aggressive, lossy floating-point optimizations",
15461546
[cl_fast_relaxed_math.KeyPath]>,
15471547
NegFlag<SetFalse>>;
15481548
def menable_unsafe_fp_math : Flag<["-"], "menable-unsafe-fp-math">, Flags<[CC1Option]>,

0 commit comments

Comments
 (0)