summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2018-03-07 19:32:58 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2018-03-07 19:32:58 +0000
commitcb35e9fa944a416a6d58cc654b31a9a40ce95d17 (patch)
treed6dc4dca266ce6d9f3fbeac7ff520fef9f3a7eff /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
parent6cf299cf01e4a83844126f7faf17cbeb78e88da9 (diff)
downloadbcm5719-llvm-cb35e9fa944a416a6d58cc654b31a9a40ce95d17.tar.gz
bcm5719-llvm-cb35e9fa944a416a6d58cc654b31a9a40ce95d17.zip
[OpenCL] Remove block invoke function from emitted block literal struct
OpenCL runtime tracks the invoke function emitted for any block expression. Due to restrictions on blocks in OpenCL (v2.0 s6.12.5), it is always possible to know the block invoke function when emitting call of block expression or __enqueue_kernel builtin functions. Since __enqueu_kernel already has an argument for the invoke function, it is redundant to have invoke function member in the llvm block literal structure. This patch removes invoke function from the llvm block literal structure. It also removes the bitcast of block invoke function to the generic block literal type which is useless for OpenCL. This will save some space for the kernel argument, and also eliminate some store instructions. Differential Revision: https://reviews.llvm.org/D43783 llvm-svn: 326937
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud