summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCUDA/launch-bounds.cu
Commit message (Collapse)AuthorAgeFilesLines
* [CUDA] Improve target attribute checking for function templates.Artem Belevich2016-12-071-3/+3
| | | | | | | | | | | | * __host__ __device__ functions are no longer considered to be redeclarations of __host__ or __device__ functions. This prevents unintentional merging of target attributes across them. * Function target attributes are not considered (and must match) during explicit instantiation and specialization of function templates. Differential Revision: https://reviews.llvm.org/D25809 llvm-svn: 288962
* [CUDA] Add implicit conversion of __launch_bounds__ arguments to rvalue.Artem Belevich2016-06-061-0/+5
| | | | | | | | Fixes clang crash reported in PR27778. Differential Revision: http://reviews.llvm.org/D20985 llvm-svn: 271951
* [cuda] Allow using integral non-type template parameters as launch_bounds ↵Artem Belevich2015-04-211-0/+51
| | | | | | | | | | | | | | | | attribute arguments. - Changed CUDALaunchBounds arguments from integers to Expr* so they can be saved in AST for instantiation. - Added support for template instantiation of launch_bounds attrubute. - Moved evaluation of launch_bounds arguments to NVPTXTargetCodeGenInfo:: SetTargetAttributes() where it can be done after template instantiation. - Added a warning on negative launch_bounds arguments. - Amended test cases. Differential Revision: http://reviews.llvm.org/D8985 llvm-svn: 235452
* IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith2014-12-151-3/+3
| | | | | | Match LLVM changes from r224257. llvm-svn: 224259
* Move all CUDA testing inputs to Inputs/ subdirectory inside the tests.Eli Bendersky2014-04-281-1/+1
| | | | llvm-svn: 207453
* Add test case for r206302Eli Bendersky2014-04-151-0/+30
llvm-svn: 206303
OpenPOWER on IntegriCloud