[compiler-rt] Fix extendhfxf2 test (PR #117665)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 22:53:13 PST 2024


================
@@ -5,59 +5,62 @@
 #include <math.h> // for isnan, isinf
 #include <stdio.h>
 
-#include "int_lib.h"
+#include "fp_test.h"
 
-#if HAS_80_BIT_LONG_DOUBLE && defined(COMPILER_RT_HAS_FLOAT16)
+#if __LDBL_MANT_DIG__ == 64 && defined(__x86_64__) &&                          \
----------------
arichardson wrote:

Keep the old version and change the one in fp_test.h instead.

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


More information about the llvm-commits mailing list