summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/shared/max.h
Commit message (Collapse)AuthorAgeFilesLines
* Add __CLC_ prefix to all macro definitions in headersTom Stellard2013-07-081-2/+2
| | | | | | | | | | | libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
* libclc: Move max builtin to shared/Tom Stellard2013-06-261-0/+5
Max(x,y) is available for all integer/floating types. Patch by: Aaron Watry llvm-svn: 184995
OpenPOWER on IntegriCloud