[libclc] [NFC][libclc] Merge atomic extension built-ins with identical name into a single file (PR #134489)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 9 03:24:51 PDT 2025


================
@@ -6,7 +6,28 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <clc/clc.h>
+#include <clc/atomic/atom_cmpxchg.h>
+#include <clc/atomic/atomic_cmpxchg.h>
+
+// cl_khr_global_int32_base_atomics
+#define IMPL(TYPE) \
----------------
frasercrmck wrote:

Oh nice one, yeah. That explains why it isn't picked up upon!

https://github.com/llvm/llvm-project/pull/134489


More information about the cfe-commits mailing list