summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/libcall-declarations.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix testcases to not rely upon target-* attributes.Bill Wendling2013-02-261-105/+104
| | | | llvm-svn: 176135
* Revert "Add more attributes from the command line to functions."Anna Zaks2013-02-251-104/+105
| | | | | | | | This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044
* Add more attributes from the command line to functions.Bill Wendling2013-02-251-105/+104
| | | | | | | This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009
* Modify the tests to use attribute group references instead of listing theBill Wendling2013-02-201-102/+107
| | | | | | function attributes. llvm-svn: 175606
* Make ceil/floor/nearbyint/rint/round const even with -fmath-errno.Benjamin Kramer2012-08-221-1/+16
| | | | | | | | 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 :) llvm-svn: 162379
* Math builtin definition tweaks.Benjamin Kramer2012-08-221-0/+176
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
OpenPOWER on IntegriCloud