[all-commits] [llvm/llvm-project] d97a4d: [OpenCL] Move most _explicit atomics into multicla...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Thu Feb 3 03:10:07 PST 2022


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

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

  Log Message:
  -----------
  [OpenCL] Move most _explicit atomics into multiclass; NFC

This will simplify future conditionalization for OpenCL 3.0
optionality of atomic features.

The only set of atomic functions not using the multiclass is
atomic_compare_exchange_strong/weak, as these don't fit the common
pattern due to having 2 MemoryOrder arguments.




More information about the All-commits mailing list