]> granicus.if.org Git - clang/commit
clang-cl: Support the /fp options (PR23112)
authorHans Wennborg <hans@hanshq.net>
Wed, 8 Apr 2015 22:55:09 +0000 (22:55 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 8 Apr 2015 22:55:09 +0000 (22:55 +0000)
commit6686c241831cbf1238cd2522e3ab06cefffda15c
treebcfd2208fdcfaba088b491a49049b47554cb0359
parentdbad6778509e98d21c6107067282baa078c37a6e
clang-cl: Support the /fp options (PR23112)

This hooks up the /fp options as aliases for -f[no-]fast-math and
-f[no]-trapping-math. It probably doesn't match cl.exe's behaviour
completely (e.g. LLVM is currently never as precise as /fp:precise),
but it's close enough.

Differential revision: http://reviews.llvm.org/D8909

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234449 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CLCompatOptions.td
test/Driver/cl-options.c