summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/vla.cl
Commit message (Collapse)AuthorAgeFilesLines
* Clean up AMDGCN testsYaxun Liu2018-02-151-5/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D43340 llvm-svn: 325279
* [AMDGPU] Change constant addr space to 4Yaxun Liu2018-02-131-4/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D43171 llvm-svn: 325031
* [OpenCL] Map default address space to alloca address spaceYaxun Liu2017-04-111-3/+9
| | | | | | | | | | | | | | For OpenCL, the private address space qualifier is 0 in AST. Before this change, 0 address space qualifier is always mapped to target address space 0. As now target private address space is specified by alloca address space in data layout, address space qualifier 0 needs to be mapped to alloca addr space specified by the data layout. This change has no impact on targets whose alloca addr space is 0. With contributions from Matt Arsenault, Tony Tye and Wen-Heng (Jack) Chung Differential Revision: https://reviews.llvm.org/D31404 llvm-svn: 299965
* [OPENCL] Fix wrongly vla error for OpenCL array.Xiuli Pan2016-06-071-0/+18
| | | | | | | | | | | | | | | | | Summary: OpenCL should support array with const value size length, those const varibale in global and constant address space and variable in constant address space. Fixed test case error. Reviewers: Anastasia, yaxunl, bader Subscribers: bader, cfe-commits Differential Revision: http://reviews.llvm.org/D20090 llvm-svn: 271978
* Revert "[OPENCL] Fix wrongly vla error for OpenCL array."Xiuli Pan2016-06-071-18/+0
| | | | | | | | Test case break on system-z. This reverts commit 9a7212e1e87f1396952d74f8c62314a775ccbb1c. llvm-svn: 271975
* [OPENCL] Fix wrongly vla error for OpenCL array.Xiuli Pan2016-06-071-0/+18
Summary: OpenCL should support array with const value size length, those const varibale in global and constant address space and variable in constant address space. Reviewers: Anastasia, yaxunl, bader Subscribers: bader, cfe-commits Differential Revision: http://reviews.llvm.org/D20090 llvm-svn: 271971
OpenPOWER on IntegriCloud