[cfe-dev] [OpenCL patch] misc frontend and driver changes
Douglas Gregor
dgregor at apple.com
Fri Mar 11 15:16:56 PST 2011
On Mar 11, 2011, at 2:54 PM, Tanya Lattner wrote:
> Attached is a patch that implements a bunch of misc frontend and driver changes:
>
> - Added flag -cl-denorms-are-zero and exposed other CL flags at the clang level.
> - Added cl-header for PCH
> - OpenCL, ImplicitLibFuncDeclare warning group
> - Put ext_implicit_lib_function_decl in OpenCL warning group.
Patch looks good, although it appears that our AST writer and reader may have gotten out of sync with DefaultFPContract/MRTD:
Index: lib/Serialization/ASTReader.cpp
===================================================================
--- lib/Serialization/ASTReader.cpp (revision 127366)
+++ lib/Serialization/ASTReader.cpp (working copy)
@@ -146,6 +146,10 @@
PARSE_LANGOPT_IMPORTANT(ElideConstructors, diag::warn_pch_elide_constructors);
PARSE_LANGOPT_BENIGN(SpellChecking);
PARSE_LANGOPT_BENIGN(DefaultFPContract);
+ PARSE_LANGOPT_BENIGN(FastRelaxedMath);
+ PARSE_LANGOPT_BENIGN(MadEnable);
+ PARSE_LANGOPT_BENIGN(SinglePrecConst);
+ PARSE_LANGOPT_BENIGN(DenormsZero);
#undef PARSE_LANGOPT_IMPORTANT
#undef PARSE_LANGOPT_BENIGN
@@ -2846,6 +2850,10 @@
PARSE_LANGOPT(ElideConstructors);
PARSE_LANGOPT(SpellChecking);
PARSE_LANGOPT(MRTD);
+ PARSE_LANGOPT(FastRelaxedMath);
+ PARSE_LANGOPT(MadEnable);
+ PARSE_LANGOPT(SinglePrecConst);
+ PARSE_LANGOPT(DenormsZero);
#undef PARSE_LANGOPT
- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110311/622503d7/attachment.html>
More information about the cfe-dev
mailing list