Go to file
Benjamin Kramer 6f0bf8049a Math builtin definition tweaks.
There were missed optimizations when the system headers didn't have attributes
in place, specifically:

- Add copysign, exp2, log2, nearbyint, rint and trunc to the list.
  These are functions that get inlined by LLVM's optimizer, but only when they
  have the right attributes.
- Mark copysign, fabs, fmax, fmin and trunc const unconditionally.
  Previously these were only const with -fno-math-errno, but they never set
  errno per POSIX.

For ceil/floor/nearbyint/round I'm not aware of any implementation that sets
errno, but POSIX says it may signal overflow so I left them alone for now.

llvm-svn: 162375
2012-08-22 18:16:02 +00:00
clang Math builtin definition tweaks. 2012-08-22 18:16:02 +00:00
clang-tools-extra Make Mr. Pedantic happy by fixing banner to be exactly 80 columns 2012-08-21 16:29:41 +00:00
compiler-rt [ASan] use write instead of puts in malloc hooks test for ASan, as puts calls malloc on Mac 2012-08-22 13:32:37 +00:00
debuginfo-tests Fix this for gdb 7.4. 2012-07-23 19:41:58 +00:00
libclc Add rsqrt builtin. Based on patch by Cassie Epps! 2012-08-21 10:48:35 +00:00
libcxx Fix a typo in the docs 2012-08-22 00:57:11 +00:00
libcxxabi Change size of reference count field in __libcpp_nmstr from 32 bits to 64 bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2. 2012-08-08 16:15:16 +00:00
lld Hook up lld-test to llvm check-all. Patch by Andy Gibbs! 2012-07-31 18:44:52 +00:00
lldb Fixed a Linux building bug pointed out by Daniel Malea. 2012-08-22 18:10:45 +00:00
llvm Whitespace. 2012-08-22 17:34:11 +00:00
polly autoconf: Only define GPGPU_CODEGEN, if that feature is requested 2012-08-21 12:29:10 +00:00