]> granicus.if.org Git - clang/commit
Darwin: add __sinpi (etc) and __exp10 libbuiltins
authorTim Northover <tnorthover@apple.com>
Tue, 14 Jan 2014 19:26:03 +0000 (19:26 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 14 Jan 2014 19:26:03 +0000 (19:26 +0000)
commitb5df35cb550c18e23f23760ab4ded65c20389259
treef9235dac56917e76cf8295e0b206d803d3702f17
parent623afe65e6f571f3460ced234235197ccbc6d506
Darwin: add __sinpi (etc) and __exp10 libbuiltins

These functions have the same constness properties of the normal libm
functions, which allows LLVM to optimise code better in general. There
are also a couple of specific optimisations that only trigger when
these are properly marked.

rdar://problem/13729466

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