[PATCH] D22523: [OpenCL] AMDGCN target will generate images in constant address space

Aaron En Ye Shi via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 11:11:42 PDT 2016


ashi1 created this revision.
ashi1 added reviewers: yaxunl, Anastasia.
ashi1 added a subscriber: cfe-commits.
ashi1 set the repository for this revision to rL LLVM.

Allows AMDGCN target to generate images (such as %opencl.image2d_t) in constant address space.
Images will still be generated in global address space by default. 

Added tests to existing opencl-types.cl in test\CodeGenOpenCL

Repository:
  rL LLVM

https://reviews.llvm.org/D22523

Files:
  lib/CodeGen/CGOpenCLRuntime.cpp
  lib/CodeGen/TargetInfo.cpp
  lib/CodeGen/TargetInfo.h
  test/CodeGenOpenCL/opencl_types.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22523.64526.patch
Type: text/x-patch
Size: 5516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160719/d4516ff8/attachment.bin>


More information about the cfe-commits mailing list