[PATCH] D23840: New options -fexceptions-fp-math and -fdenormal-fp-math
Sjoerd Meijer via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 24 08:22:11 PDT 2016
SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: jmolloy, ddunbar, rengolin, sanjoy.
SjoerdMeijer added a subscriber: cfe-commits.
This adds options -fexceptions-fp-math and -fdenormal-fp-math, which are translated to function attributes. This is intended to be mapped on build attributes FP_exceptions and FP_denormal. Setting these build attributes allows better selection of floating point libraries.
https://reviews.llvm.org/D23840
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGCall.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/denormalfpmode.c
test/CodeGen/noexceptionsfpmath.c
test/Driver/fast-math.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23840.69122.patch
Type: text/x-patch
Size: 7714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160824/34bc654c/attachment.bin>
More information about the cfe-commits
mailing list