[all-commits] [llvm/llvm-project] bee4bd: [OpenCL] Add support of language builtins for Open...
Anton Zabaznov via All-commits
all-commits at lists.llvm.org
Fri Feb 11 04:54:01 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bee4bd70f76952b2c6296feb46a087b497322376
https://github.com/llvm/llvm-project/commit/bee4bd70f76952b2c6296feb46a087b497322376
Author: Anton Zabaznov <anton.zabaznov at intel.com>
Date: 2022-02-11 (Fri, 11 Feb 2022)
Changed paths:
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/Builtins.h
M clang/lib/Basic/Builtins.cpp
M clang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl
M clang/test/CodeGenOpenCL/pipe_types.cl
M clang/test/CodeGenOpenCL/to_addr_builtin.cl
M clang/test/SemaOpenCL/cl20-device-side-enqueue.cl
M clang/test/SemaOpenCL/clang-builtin-version.cl
M clang/test/SemaOpenCL/to_addr_builtin.cl
Log Message:
-----------
[OpenCL] Add support of language builtins for OpenCL C 3.0
OpenCL C 3.0 introduces optionality to some builtins, in particularly
to those which are conditionally supported with pipe, device enqueue
and generic address space features.
The idea is to conditionally support such builtins depending on the language options
being set for a certain feature. This allows users to define functions with names
of those optional builtins in OpenCL (as such names are not reserved).
Reviewed By: Anastasia
Differential Revision: https://reviews.llvm.org/D118605
More information about the All-commits
mailing list