[PATCH] D23086: [OpenCL] Generate concrete struct type for ndrange_t

Aaron En Ye Shi via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 14:10:29 PDT 2016


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

ndrange_t needs to be emitted as a struct type since it has to be allocated on a stack as a local variable or function return.

Repository:
  rL LLVM

https://reviews.llvm.org/D23086

Files:
  lib/CodeGen/CGOpenCLRuntime.cpp
  test/CodeGenOpenCL/cl20-device-side-enqueue.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23086.66551.patch
Type: text/x-patch
Size: 9217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160802/d1788aa6/attachment.bin>


More information about the cfe-commits mailing list