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.
Details
Details
- Reviewers
Anastasia haonanya - Commits
- rG9798b33d1dc1: [OpenCL] Guard 64-bit atomic types
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Yes. This addresses the issue of D119398 for tablegen (although the problem for the tablegen case was less severe, since it only affects diagnostics).