[libc-commits] [libc] c5b68a9 - [libc][math][c23] Temporarily disable float16 on RISC-V (#94984)

via libc-commits libc-commits at lists.llvm.org
Mon Jun 10 07:18:56 PDT 2024


Author: OverMighty
Date: 2024-06-10T10:18:53-04:00
New Revision: c5b68a9dcebad62cd4ea15876a6cba43e8288af6

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

LOG: [libc][math][c23] Temporarily disable float16 on RISC-V (#94984)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/257/builds/13450
- https://lab.llvm.org/buildbot/#/builders/256/builds/14531

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 9f17503d85130..3f819ad53df71 100644
--- a/libc/include/llvm-libc-macros/float16-macros.h
+++ b/libc/include/llvm-libc-macros/float16-macros.h
@@ -10,7 +10,8 @@
 #define LLVM_LIBC_MACROS_FLOAT16_MACROS_H
 
 #if defined(__FLT16_MANT_DIG__) &&                                             \
-    (!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__))
+    (!defined(__GNUC__) || __GNUC__ >= 13 || defined(__clang__)) &&            \
+    !defined(__riscv)
 #define LIBC_TYPES_HAS_FLOAT16
 #endif
 


        


More information about the libc-commits mailing list