summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/address-space-constant-initializers.cl
Commit message (Collapse)AuthorAgeFilesLines
* Clean up AMDGCN testsYaxun Liu2018-02-151-3/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D43340 llvm-svn: 325279
* [AMDGPU] Change constant addr space to 4Yaxun Liu2018-02-131-5/+6
| | | | | | Differential Revision: https://reviews.llvm.org/D43171 llvm-svn: 325031
* Fix crash on array initializer with non-0 alloca addrspaceMatt Arsenault2018-02-081-0/+10
| | | | llvm-svn: 324641
* [AMDGPU] Temporarily change constant address space from 4 to 2 for the new ↵Yaxun Liu2017-04-061-0/+2
| | | | | | | | | | address space mapping Change constant address space from 4 to 2 for the new address space mapping in Clang. Differential Revision: https://reviews.llvm.org/D31771 llvm-svn: 299691
* [OpenCL] Align fake address space map with the SPIR target maps.Egor Churaev2016-12-231-2/+2
| | | | | | | | | | | | | | | Summary: We compile user opencl kernel code with spir triple. But built-ins are written in OpenCL and we compile it with triple x86_64 to be able to use x86 intrinsics. And we need address spaces to match in both cases. So, we change fake address space map in OpenCL for matching with spir. On CPU address spaces are not really important but we'd like to preserve address space information in order to perform optimizations relying on this info like enhanced alias analysis. Reviewers: pekka.jaaskelainen, Anastasia Subscribers: pekka.jaaskelainen, yaxunl, bader, cfe-commits Differential Revision: https://reviews.llvm.org/D28048 llvm-svn: 290436
* Test case updates for explicit type parameter to the gep operatorDavid Blaikie2015-03-131-1/+1
| | | | llvm-svn: 232187
* OpenCL: Emit global variables in the constant addr space as constant globalsTom Stellard2014-10-161-1/+1
| | | | llvm-svn: 219929
* Bug 18567: Fix constantexpr pointer casts with address spaces.Matt Arsenault2014-04-171-0/+20
Getting a pointer into a struct at a non-zero offset would try to use the default address space. llvm-svn: 206478
OpenPOWER on IntegriCloud