[libc-commits] [libc] [libc][math][c++23] Add bfloat16 support in LLVM libc (PR #144463)

via libc-commits libc-commits at lists.llvm.org
Sun Jul 6 20:16:45 PDT 2025


================
@@ -257,4 +257,16 @@ add_header_library(
     libc.src.__support.macros.properties.types
 )
 
+add_header_library(
+  bfloat16
+  HDRS
+    bfloat16.h
+  DEPENDS
+    libc.src.__support.CPP.bit
+    libc.src.__support.CPP.type_traits
+    .cast
+    libc.src.__support.macros.config
+    libc.src.__support.macros.properties.types
----------------
overmighty wrote:

```suggestion
  DEPENDS
    .cast
    .dyadic_float
    libc.src.__support.CPP.bit
    libc.src.__support.CPP.type_traits
    libc.src.__support.macros.config
    libc.src.__support.macros.properties.types
```

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


More information about the libc-commits mailing list