[libclc] e07e60e - libclc: Fix build in atomic_def.inc (#170306)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 08:23:26 PST 2025


Author: Matt Arsenault
Date: 2025-12-02T11:23:22-05:00
New Revision: e07e60e5dc911f689ba02c0bcbad472b436eef87

URL: https://github.com/llvm/llvm-project/commit/e07e60e5dc911f689ba02c0bcbad472b436eef87
DIFF: https://github.com/llvm/llvm-project/commit/e07e60e5dc911f689ba02c0bcbad472b436eef87.diff

LOG: libclc: Fix build in atomic_def.inc (#170306)

Added: 
    

Modified: 
    libclc/opencl/lib/generic/atomic/atomic_def.inc

Removed: 
    


################################################################################
diff  --git a/libclc/opencl/lib/generic/atomic/atomic_def.inc b/libclc/opencl/lib/generic/atomic/atomic_def.inc
index a4ccab5990888..e6b7c831e10d3 100644
--- a/libclc/opencl/lib/generic/atomic/atomic_def.inc
+++ b/libclc/opencl/lib/generic/atomic/atomic_def.inc
@@ -12,7 +12,8 @@
                                  defined(cl_khr_int64_extended_atomics))
 #define __CLC_HAVE_64_ATOMIC
 #endif
-#if defined(__CLC_FPSIZE) && (__CLC_FPSIZE < 64 || defined(__CLC_HAVE_64_ATOMIC)
+#if defined(__CLC_FPSIZE) &&                                                   \
+    (__CLC_FPSIZE < 64 || defined(__CLC_HAVE_64_ATOMIC))
 #define __CLC_HAVE_FP_ATOMIC
 #endif
 #if defined(__CLC_GENSIZE) &&                                                  \


        


More information about the cfe-commits mailing list