[all-commits] [llvm/llvm-project] fe6905: [OpenCL] Fix atomic_fetch_add/sub with half type

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Wed Feb 9 02:48:05 PST 2022


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

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

  Log Message:
  -----------
  [OpenCL] Fix atomic_fetch_add/sub with half type

An error in the tablegen description affects the declarations
provided by `-fdeclare-opencl-builtins` for `atomic_fetch_add` and
`atomic_fetch_sub`.

The atomic argument should be an atomic_half, not an atomic_float.




More information about the All-commits mailing list