summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCLCXX/template-address-spaces.cl
Commit message (Collapse)AuthorAgeFilesLines
* Make the CXXABIs respect the target's default calling convention.Erich Keane2019-07-261-3/+3
| | | | | | | | | SPIR targets need to have all functions be SPIR calling convention, however the CXXABIs were just returning CC_C in all non-'this-CC' cases. https://reviews.llvm.org/D65294 llvm-svn: 367103
* [OpenCL] Rename lang mode flag for C++ modeAnastasia Stulova2019-07-251-1/+1
| | | | | | | | | | | | Rename lang mode flag to -cl-std=clc++/-cl-std=CLC++ or -std=clc++/-std=CLC++. This aligns with OpenCL C conversion and removes ambiguity with OpenCL C++. Differential Revision: https://reviews.llvm.org/D65102 llvm-svn: 367008
* [clang] Preserve names of addrspacecast'ed values.Vyacheslav Zakharin2019-07-101-6/+6
| | | | | | Differential Revision: https://reviews.llvm.org/D63846 llvm-svn: 365666
* [OpenCL] Add generic AS to 'this' pointerMikael Nilsson2018-12-131-6/+9
| | | | | | | | | | | | | Address spaces are cast into generic before invoking the constructor. Added support for a trailing Qualifiers object in FunctionProtoType. Note: This recommits the previously reverted patch, but now it is commited together with a fix for lldb. Differential Revision: https://reviews.llvm.org/D54862 llvm-svn: 349019
* Revert "[OpenCL] Add generic AS to 'this' pointer"Mikael Nilsson2018-12-121-9/+6
| | | | | | Reverting because the patch broke lldb. llvm-svn: 348931
* [OpenCL] Add generic AS to 'this' pointerMikael Nilsson2018-12-121-6/+9
| | | | | | | | | | Address spaces are cast into generic before invoking the constructor. Added support for a trailing Qualifiers object in FunctionProtoType. Differential Revision: https://reviews.llvm.org/D54862 llvm-svn: 348927
* [OpenCL] Improve diags for addr spaces in templatesAnastasia Stulova2018-11-291-3/+0
| | | | | | | | | | | Fix ICEs on template instantiations that were leading to the creation of invalid code patterns with address spaces. Incorrect cases are now diagnosed properly. Differential Revision: https://reviews.llvm.org/D54858 llvm-svn: 347865
* [OpenCL] Fix address space deduction in template args.Anastasia Stulova2018-11-191-0/+31
Don't deduce address spaces for non-pointer-like types in template args. Fixes PR38603! Differential Revision: https://reviews.llvm.org/D54634 llvm-svn: 347189
OpenPOWER on IntegriCloud