summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
Commit message (Collapse)AuthorAgeFilesLines
* Make the CXXABIs respect the target's default calling convention.Erich Keane2019-07-261-4/+4
| | | | | | | | | 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-14/+28
| | | | | | Differential Revision: https://reviews.llvm.org/D63846 llvm-svn: 365666
* [Sema] Adjust addr space of reference operand in compound assignmentAnastasia Stulova2019-03-191-5/+12
| | | | | | | | | | When we create overloads for the builtin compound assignment operators we need to preserve address space for the reference operand taking it from the argument that is passed in. Differential Revision: https://reviews.llvm.org/D59367 llvm-svn: 356475
* [PR40778][Sema] Adjust addr space of operands in builtin operators.Anastasia Stulova2019-03-071-0/+46
Adjust address space for references and pointer operands of builtin operators. Currently this change only fixes addr space in assignment (= and |=) operator, that is needed for the test case reported in the bug. Wider support for all other operations will follow. Differential Revision: https://reviews.llvm.org/D58719 llvm-svn: 355608
OpenPOWER on IntegriCloud