]> granicus.if.org Git - clang/commit
Revert r326937 "[OpenCL] Remove block invoke function from emitted block literal...
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 2 Oct 2018 13:02:24 +0000 (13:02 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 2 Oct 2018 13:02:24 +0000 (13:02 +0000)
commit71264769ee530ae4d63d399b72326502808b5682
tree16fc759d57ae2c3f522ffe815470ac2fd3be6592
parent06d46908046862bd04eab4de8ae344b5d31dce07
Revert r326937 "[OpenCL] Remove block invoke function from emitted block literal struct"

This reverts r326937 as it broke block argument handling in OpenCL.
See the discussion on https://reviews.llvm.org/D43783 .

The next commit will add a test case that revealed the issue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGOpenCLRuntime.cpp
lib/CodeGen/CGOpenCLRuntime.h
test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
test/CodeGenOpenCL/blocks.cl
test/CodeGenOpenCL/cl20-device-side-enqueue.cl
test/SemaOpenCL/block-array-capturing.cl