[cfe-commits] Use LLVM's existing IR support for fast-math flags during (IR) Codegen

Michael Ilseman milseman at apple.com
Thu Nov 29 14:02:51 PST 2012


The attached patch uses LLVM IR's fast-math flags when creating the IR. This allows users of clang's -ffast-math and -ffinite-math-only flags to take advantage of the new and upcoming fast-math optimizations done in LLVM. Test cases are also attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-ir-fast-math.patch
Type: application/octet-stream
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121129/cb1333bd/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fast-math.c
Type: application/octet-stream
Size: 291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121129/cb1333bd/attachment-0001.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: finite-math.c
Type: application/octet-stream
Size: 303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121129/cb1333bd/attachment-0002.obj>


More information about the cfe-commits mailing list