[libc-commits] [libc] [libc] inline fast path of callonce (PR #96226)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Wed Jun 26 09:44:15 PDT 2024
================
@@ -9,13 +9,32 @@
#ifndef LLVM_LIBC_SRC___SUPPORT_THREADS_CALLONCE_H
#define LLVM_LIBC_SRC___SUPPORT_THREADS_CALLONCE_H
+#include "src/__support/macros/optimization.h" // For LIBC_LIKELY
----------------
nickdesaulniers wrote:
```suggestion
#include "src/__support/macros/optimization.h" // LIBC_LIKELY
```
https://github.com/llvm/llvm-project/pull/96226
More information about the libc-commits
mailing list