[libc-commits] [libc] [libc][math][c23] Temporarily disable float16 on 32-bit Arm (PR #95027)

via libc-commits libc-commits at lists.llvm.org
Mon Jun 10 12:27:38 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: OverMighty (overmighty)

<details>
<summary>Changes</summary>

See Buildbot failure: https://lab.llvm.org/buildbot/#/builders/229/builds/27009.

---
Full diff: https://github.com/llvm/llvm-project/pull/95027.diff


1 Files Affected:

- (modified) libc/include/llvm-libc-macros/float16-macros.h (+1-1) 


``````````diff
diff --git a/libc/include/llvm-libc-macros/float16-macros.h b/libc/include/llvm-libc-macros/float16-macros.h
index 3f819ad53df71..e7d8d93bca1b6 100644
--- a/libc/include/llvm-libc-macros/float16-macros.h
+++ b/libc/include/llvm-libc-macros/float16-macros.h
@@ -11,7 +11,7 @@
 
 #if defined(__FLT16_MANT_DIG__) &&                                             \
     (!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) &&            \
-    !defined(__riscv)
+    !defined(__arm__) && !defined(_M_ARM) && !defined(__riscv)
 #define LIBC_TYPES_HAS_FLOAT16
 #endif
 

``````````

</details>


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


More information about the libc-commits mailing list