summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/amdgpu-num-register-attrs.cl
Commit message (Collapse)AuthorAgeFilesLines
* Workaround attribute ordering issue with kernel only attributesMatt Arsenault2014-12-051-0/+6
| | | | | | | | | | | Placing the attribute after the kernel keyword would incorrectly reject the attribute, so use the smae workaround that other kernel only attributes use. Also add a FIXME because there are two different phrasings now for the same error, althoug amdgpu_num_[sv]gpr uses a consistent one. llvm-svn: 223490
* Add attributes for AMDGPU register limits.Matt Arsenault2014-12-041-0/+34
This is a performance hint that can be applied to kernels to attempt to limit the number of used registers. llvm-svn: 223384
OpenPOWER on IntegriCloud