summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/complex-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] change const-ness of complex callsSanjay Patel2017-11-181-39/+39
| | | | | | | | | | | | | | | | | After clarification about the C standard, POSIX, and implementations: The C standard allows errno-setting, and it's (unfortunately for optimization) even more clearly stated in the newer additions to the standards. We can leave these functions as always constant ('c') because they don't actually do any math and therefore won't set errno: cimag ( http://en.cppreference.com/w/c/numeric/complex/cimag ) creal ( http://en.cppreference.com/w/c/numeric/complex/creal ) cproj ( http://en.cppreference.com/w/c/numeric/complex/cproj ) conj (http://en.cppreference.com/w/c/numeric/complex/conj ) Differential Revision: https://reviews.llvm.org/D39611 llvm-svn: 318598
* [CodeGen] split math and complex tests into separate files; NFCISanjay Patel2017-11-071-0/+206
The files are already large, and we may need to add even more RUNs to distinguish differences based on OS, environment, or other platform things. llvm-svn: 317583
OpenPOWER on IntegriCloud