diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2015-10-02 14:56:37 +0000 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2015-10-02 14:56:37 +0000 |
commit | f5a8e6c5ab1390e7c9d347451c6276bc52443abf (patch) | |
tree | 39b388762aba3a6ca18c7ed1b267f65bbf3f1af6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8930f4846cc461874b3afdc1f0d9c5bf3c3b7fed (diff) | |
download | llvm-f5a8e6c5ab1390e7c9d347451c6276bc52443abf.zip llvm-f5a8e6c5ab1390e7c9d347451c6276bc52443abf.tar.gz llvm-f5a8e6c5ab1390e7c9d347451c6276bc52443abf.tar.bz2 |
Implement ACLE 2.0 macros of chapters 6.6 and 6.7 for [ARM] and [Aarch64] targets.
Differential Revision: http://reviews.llvm.org/D12633
llvm-svn: 249140
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index a907133..5f81ce2 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1708,6 +1708,9 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.FiniteMathOnly = Args.hasArg(OPT_ffinite_math_only) || Args.hasArg(OPT_cl_finite_math_only) || Args.hasArg(OPT_cl_fast_relaxed_math); + Opts.UnsafeFPMath = Args.hasArg(OPT_menable_unsafe_fp_math) || + Args.hasArg(OPT_cl_unsafe_math_optimizations) || + Args.hasArg(OPT_cl_fast_relaxed_math); Opts.RetainCommentsFromSystemHeaders = Args.hasArg(OPT_fretain_comments_from_system_headers); |