summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/shared/min.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: implement initial version of min()Tom Stellard2013-06-261-0/+5
This doesn't handle the integer cases for min(vector, scalar). Patch by: Aaron Watry llvm-svn: 185001
OpenPOWER on IntegriCloud