]> granicus.if.org Git - clang/commit
Add atan, atan2, exp, and log to the builtin math library functions.
authorChad Rosier <mcrosier@apple.com>
Tue, 24 Apr 2012 22:40:01 +0000 (22:40 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 24 Apr 2012 22:40:01 +0000 (22:40 +0000)
commit454393e3e6dc909806ce24d0af0d7c12381037ce
tree5f2943a7f76caa8ab0de6df88fb3131a01fb3ea3
parentfae0f48cdeafc454e7e69b6828c06a296f70e673
Add atan, atan2, exp, and log to the builtin math library functions.

With -fno-math-errno (the default for Darwin) or -ffast-math these library
function can be marked readnone enabling more opportunities for CSE and other
optimizations.
rdar://11251464

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155498 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
test/Analysis/self-init.m
test/CodeGen/libcalls.c