]> granicus.if.org Git - clang/commit
Add new libm LIBBUILTIN definitions, synchronizing with __builtin_*
authorHal Finkel <hfinkel@anl.gov>
Wed, 18 Sep 2013 06:19:40 +0000 (06:19 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 18 Sep 2013 06:19:40 +0000 (06:19 +0000)
commit28f69cd663470b997488338312e9475fc80f9d21
treea2bd51e40cae5f5db561605321a7ddccec1833dd
parent414a1bdbdaf250e0488589f12865c8961831b65d
Add new libm LIBBUILTIN definitions, synchronizing with __builtin_*

For all libm __builtin_* functions that are defined, this adds the
corresponding LIBBUILTIN definitions (tagged, as necessary, with "e" instead of
"c" when the function may set errno).

Note that this changes the current definitions for lrint and fma
(unfortunately). The Linux man page documents that these don't set errno, but
the POSIX standard says that they should.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190922 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
test/CodeGen/libcall-declarations.c