summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorAlexey Bader <alexey.bader@intel.com>2019-02-19 15:19:06 +0000
committerAlexey Bader <alexey.bader@intel.com>2019-02-19 15:19:06 +0000
commit24fa0c18e66ca273b42862f3a472ebf6cc5931a5 (patch)
tree01fb779991ab98e17af01d0a9fb8c16a992bbb87 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parent37a1d6eca3bc60725c1b6547b839e669a9775c1d (diff)
downloadbcm5719-llvm-24fa0c18e66ca273b42862f3a472ebf6cc5931a5.tar.gz
bcm5719-llvm-24fa0c18e66ca273b42862f3a472ebf6cc5931a5.zip
[OpenCL] Change type of block pointer for OpenCL
Summary: For some reason OpenCL blocks in LLVM IR are represented as function pointers. These pointers do not point to any real function and never get called. Actually they point to some structure, which in turn contains pointer to the real block invoke function. This patch changes represntation of OpenCL blocks in LLVM IR from function pointers to pointers to `%struct.__block_literal_generic`. Such representation allows to avoid unnecessary bitcasts and simplifies further processing (e.g. translation to SPIR-V ) of the module for targets which do not support function pointers. Patch by: Alexey Sotkin. Reviewers: Anastasia, yaxunl, svenvh Reviewed By: Anastasia Subscribers: alexbatashev, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58277 llvm-svn: 354337
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud