]> granicus.if.org Git - clang/commit
[OpenCL] Change block descriptor address space to constant.
authorJoey Gouly <joey.gouly@gmail.com>
Wed, 10 Aug 2016 15:57:02 +0000 (15:57 +0000)
committerJoey Gouly <joey.gouly@gmail.com>
Wed, 10 Aug 2016 15:57:02 +0000 (15:57 +0000)
commit85167c8b9a85f4d05dc72513f69f3643928ddd0e
treed3e1e8d8ea9789b010ec20fc0ae9e04d8c6021da
parent0bbca21c016b51d8019d380edf5879bc7827d0f5
[OpenCL] Change block descriptor address space to constant.

The block descriptor is a GlobalVariable in the LLVM IR, so it shouldn't be
in the private address space.

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