summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/const-str-array-decay.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Align fake address space map with the SPIR target maps.Egor Churaev2016-12-231-1/+1
| | | | | | | | | | | | | | | 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
* Fix an address space id reset with array decay'sPekka Jaaskelainen2014-12-191-0/+11
implicit conversion. The issue was produced with OpenCL C code that called a function with a constant string literal argument. llvm-svn: 224592
OpenPOWER on IntegriCloud