[all-commits] [llvm/llvm-project] 6690b7: [OpenCL] Ensure atomic_init is guarded with extension

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Wed Feb 16 07:12:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6690b7d3ac9ab6410b7909207552ce4edbe2147b
      https://github.com/llvm/llvm-project/commit/6690b7d3ac9ab6410b7909207552ce4edbe2147b
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M clang/lib/Sema/OpenCLBuiltins.td

  Log Message:
  -----------
  [OpenCL] Ensure atomic_init is guarded with extension

The named and generic address space overloads for atomic_init added
by 50f8abb9f40a ("[OpenCL] Add OpenCL 3.0 atomics to
-fdeclare-opencl-builtins", 2022-02-11) were not guarded by the
corresponding extensions.




More information about the All-commits mailing list