summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/pipe-size.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Add separate read_only and write_only pipe IR typesSven van Haastregt2018-04-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | SPIR-V encodes the read_only and write_only access qualifiers of pipes, so separate LLVM IR types are required to target SPIR-V. Other backends may also find this useful. These new types are `opencl.pipe_ro_t` and `opencl.pipe_wo_t`, which replace `opencl.pipe_t`. This replaces __get_pipe_num_packets(...) and __get_pipe_max_packets(...) which took a read_only pipe with separate versions for read_only and write_only pipes, namely: * __get_pipe_num_packets_ro(...) * __get_pipe_num_packets_wo(...) * __get_pipe_max_packets_ro(...) * __get_pipe_max_packets_wo(...) These separate versions exist to avoid needing a bitcast to one of the two qualified pipe types. Patch by Stuart Brady. Differential Revision: https://reviews.llvm.org/D46015 llvm-svn: 331026
* Clean up AMDGCN testsYaxun Liu2018-02-151-3/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D43340 llvm-svn: 325279
* [AMDGPU] Fix size and alignment of size_t and pointer typesYaxun Liu2017-07-051-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D34995 llvm-svn: 307121
* [OpenCL] Fix pipe size in TypeInfo.Anastasia Stulova2017-06-051-0/+16
Pipes are now the size of pointers rather than the size of the type that they contain. Patch by Simon Perretta! Differential Revision: https://reviews.llvm.org/D33597 llvm-svn: 304708
OpenPOWER on IntegriCloud