diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2019-09-19 13:41:51 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2019-09-19 13:41:51 +0000 |
commit | f15b9461daa267969fde37ec43ba55971d371cc0 (patch) | |
tree | 752cfe4ccc98a741b8551e9d58b379f8d31fd3a7 /lib/ARCMigrate | |
parent | 416fc0085e177099612909abb9c153be03f8e8b7 (diff) | |
download | clang-f15b9461daa267969fde37ec43ba55971d371cc0.tar.gz |
[OpenCL] Add version handling and add vector ld/st builtins
Allow setting a MinVersion, stating from which OpenCL version a
builtin function is available, and a MaxVersion, stating from which
OpenCL version a builtin function should not be available anymore.
Guard some definitions of the "work-item" builtin functions according
to the OpenCL versions from which they are available.
Add the "vector data load and store" builtin functions (e.g.
vload/vstore), whose signatures differ before and after OpenCL 2.0 in
the pointer argument address spaces.
Patch by Pierre Gondois and Sven van Haastregt.
Differential Revision: https://reviews.llvm.org/D63504
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate')
0 files changed, 0 insertions, 0 deletions