summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/kernel-metadata.cl
Commit message (Collapse)AuthorAgeFilesLines
* Bring r325915 back.Rafael Espindola2018-02-231-1/+1
| | | | | | | | | | | | | | | The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
* [OpenCL] spir_kern by defaul: fix old test casesPekka Jaaskelainen2017-06-011-1/+1
| | | | llvm-svn: 304396
* [OpenCL] Use function metadata to represent kernel attributesYaxun Liu2016-06-221-7/+2
| | | | | | | | This patch uses function metadata to represent reqd_work_group_size, work_group_size_hint and vector_type_hint kernel attributes and kernel argument info. Differential Revision: http://reviews.llvm.org/D20979 llvm-svn: 273425
* IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith2014-12-151-6/+6
| | | | | | Match LLVM changes from r224257. llvm-svn: 224259
* Always emit kernel arg info for SPIR.Sameer Sahasrabuddhe2014-12-041-1/+6
| | | | | | | | | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=21555 Currently, kernel argument metadata is omitted unless the "-cl-kernel-arg-info" option is specified. But the SPIR 1.2 spec requires that all metadata except kernel_arg_name should always be emitted, and kernel_arg_name is only emitted when "-cl-kernel-arg-info" is specified. Patch ported by Ryan Burn from the Khronos SPIR generator. https://github.com/KhronosGroup/SPIR llvm-svn: 223340
* OpenCL: add support for __kernel, kernel keywords and EXTENSION,Peter Collingbourne2011-02-141-0/+10
FP_CONTRACT pragmas. Patch originally by ARM. llvm-svn: 125475
OpenPOWER on IntegriCloud