[all-commits] [llvm/llvm-project] 9798b3: [OpenCL] Guard 64-bit atomic types
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Thu Feb 17 02:59:12 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9798b33d1dc14f5334e2cc117e3896510fa57b82
https://github.com/llvm/llvm-project/commit/9798b33d1dc14f5334e2cc117e3896510fa57b82
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M clang/lib/Sema/OpenCLBuiltins.td
M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Log Message:
-----------
[OpenCL] Guard 64-bit atomic types
Until now, overloads with a 64-bit atomic type argument were always
made available with `-fdeclare-opencl-builtins`. Ensure these
overloads are only available when both the `cl_khr_int64_base_atomics`
and `cl_khr_int64_extended_atomics` extensions have been enabled, as
required by the OpenCL specification.
Differential Revision: https://reviews.llvm.org/D119858
More information about the All-commits
mailing list