Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add __CLC_ prefix to all macro definitions in headers | Tom Stellard | 2013-07-08 | 1 | -1/+1 |
| | | | | | | | | | | | 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 rotate builtin | Tom Stellard | 2013-06-26 | 1 | -0/+2 |
This implementation does a lot of bit shifting and masking. Suffice to say, this is somewhat suboptimal... but it does look to produce correct results (after the piglit tests were corrected for sign extension issues). Someone who knows LLVM better than I could re-write this more efficiently. Patch by: Aaron Watry llvm-svn: 184996 |