651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/CodeGen/libcall-declarations.c
|
47e6b649970035933f34b0416391df27b76462cf |
|
28-Sep-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
The second parameter of nexttoward is always long double. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
28f69cd663470b997488338312e9475fc80f9d21 |
|
18-Sep-2013 |
Hal Finkel <hfinkel@anl.gov> |
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
/external/clang/test/CodeGen/libcall-declarations.c
|
d46ab5ee4d17e99ab5737ec2030df2c7cdf6503e |
|
07-Sep-2013 |
Hal Finkel <hfinkel@anl.gov> |
Add the missing "n" to libm LIBBUILTIN definitions The libm math functions should be marked with the "n" (nothrow) flag so that the corresponding IR function declarations are tagged with the nounwind attribute (this has been true in C mode, but not in C++ mode). The test case has been updated to run in C++ mode in addition to in C mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190217 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
96943ca881fca228e50b3f6207c5c150eae95893 |
|
09-Aug-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add lrint to the list of math builtins. It never sets errno so we can mark it as readnone. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
c3af6799d4c8ec4b338236e4361c0795e9af890a |
|
27-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Fix testcases to not rely upon target-* attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
c2833111020d7a672bb4b547799fcd87ea4f8fb5 |
|
25-Feb-2013 |
Anna Zaks <ganna@apple.com> |
Revert "Add more attributes from the command line to functions." This reverts commit 176009. The commit is a likely cause of several buildbot failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
d620e09c13b1ca32434ce440abf5bb0f3d0979c5 |
|
25-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Add more attributes from the command line to functions. This is an ongoing process. Any command line option which a back-end cares about should be added here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
f7a9da053f5bd6c18450c1796d953b42c3b7ad3a |
|
20-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Modify the tests to use attribute group references instead of listing the function attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
a148fbcb5f441a089ea33067473fae5a8d5f778e |
|
22-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make ceil/floor/nearbyint/rint/round const even with -fmath-errno. The conditions described by POSIX can never happen with IEEE-754 floats. When the function is const we can emit a single sse4.1 instruction for it, without losing anything :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|
5c1dcc59754c539cddc967b938d7b3a688d0c430 |
|
22-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/libcall-declarations.c
|