]> granicus.if.org Git - clang/commit
[OpenCL] Fix invalid address space generation for clk_event_t
authorAlexey Sotkin <alexey.sotkin@intel.com>
Wed, 14 Nov 2018 09:40:05 +0000 (09:40 +0000)
committerAlexey Sotkin <alexey.sotkin@intel.com>
Wed, 14 Nov 2018 09:40:05 +0000 (09:40 +0000)
commit40b6333e608f4f64a3314ee4fe4a35d40a2974d9
tree18b835d52c940f1ebe2135cc3bc1c63344fa7455
parenta152c7a4b7ba8f4cb9532ead9a38a7121db43d50
[OpenCL] Fix invalid address space generation for clk_event_t

Summary:
Addrspace(32) was generated when putting 0 in clk_event_t * event_ret
parameter for enqueue_kernel function.

Patch by Viktoria Maksimova

Reviewers: Anastasia, yaxunl, AlexeySotkin

Reviewed By:  Anastasia, AlexeySotkin

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D53809

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGenOpenCL/cl20-device-side-enqueue.cl