[libc][math] Disable float16 on Clang 11 and older (#183574)
This also reverts
c5d6feb315
This commit is contained in:
parent
186c54ec91
commit
e3735ce4b3
@ -12,7 +12,8 @@
|
||||
#include "../llvm-libc-types/float128.h"
|
||||
|
||||
#if defined(__FLT16_MANT_DIG__) && \
|
||||
(!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) && \
|
||||
(!defined(__GNUC__) || __GNUC__ >= 13 || \
|
||||
(defined(__clang__) && __clang_major__ >= 12)) && \
|
||||
!defined(__arm__) && !defined(_M_ARM) && !defined(__riscv) && \
|
||||
!defined(_WIN32)
|
||||
#define LIBC_TYPES_HAS_FLOAT16
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
if(NOT LIBC_TARGET_ARCHITECTURE_IS_AARCH64)
|
||||
|
||||
add_custom_target(libc-shared-tests)
|
||||
|
||||
add_fp_unittest(
|
||||
@ -223,5 +221,3 @@ add_fp_unittest(
|
||||
libc.src.__support.math.tanpif
|
||||
libc.src.__support.math.tanpif16
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user