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

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


Author: OverMighty
Date: 2024-06-10T15:30:18-04:00
New Revision: a9e5f42e2a4bc94dbd8d5bb027dfab230945eca8

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

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

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

Added: 
    

Modified: 
    libc/include/llvm-libc-macros/float16-macros.h

Removed: 
    


################################################################################
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
 


        


More information about the libc-commits mailing list