From a9e5f42e2a4bc94dbd8d5bb027dfab230945eca8 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 10 Jun 2024 21:30:18 +0200 Subject: [PATCH] [libc][math][c23] Temporarily disable float16 on 32-bit Arm (#95027) See Buildbot failure: https://lab.llvm.org/buildbot/#/builders/229/builds/27009. --- libc/include/llvm-libc-macros/float16-macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/llvm-libc-macros/float16-macros.h b/libc/include/llvm-libc-macros/float16-macros.h index 3f819ad53df71e..e7d8d93bca1b60 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