This revision was automatically updated to reflect the committed changes.
Closed by commit rL325264: [OpenCL] Fix __enqueue_block for block with captures
(authored by yaxunl, committed by ).
Herald added subscribers: llvm-commits, nhaehnle.
Changed prior to commit:
https://reviews.llvm.org/D432
yaxunl added a comment.
In https://reviews.llvm.org/D43240#1008560, @Anastasia wrote:
> LGTM! Thanks for looking at this. Just one thing, I was wondering whether it
> would be cleaner way if we extend
> test/CodeGenOpenCL/cl20-device-side-enqueue.cl instead of adding a new one
> here? Because
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM! Thanks for looking at this. Just one thing, I was wondering whether it
would be cleaner way if we extend
test/CodeGenOpenCL/cl20-device-side-enqueue.cl instead of adding a new one
yaxunl created this revision.
yaxunl added reviewers: Anastasia, bader.
The following test case causes issue with codegen of __enqueue_block
void (^block)(void) = ^{ callee(id, out); };
enqueue_kernel(queue, 0, ndrange, block);
Clang first does codegen for block expression in the first l