[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)
commitddbda402459d53fd9bf87e38ab15735a8cbb3129
tree92b53e7afe53f905244c4d99f4cc7d729bf13641
parentb204f03004456a823664a0f595f2474bf6c8931f
[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.

llvm-svn: 278234
clang/lib/CodeGen/CGBlocks.cpp
clang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl