[compiler-rt] [builtins] Avoid using long double in FreeBSD standalone environment (PR #76175)
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 17:34:24 PST 2023
================
@@ -156,7 +156,9 @@ typedef struct {
// still makes it 80 bits. Clang will match whatever compiler it is trying to
// be compatible with. On 32-bit x86 Android, long double is 64 bits, while on
// x86_64 Android, long double is 128 bits.
-#if (defined(__i386__) || defined(__x86_64__)) && \
+#if !CRT_HAS_FLOATING_POINT
----------------
compnerd wrote:
Yeah, I agree, move the `HAS_80_BIT_LONG_DOUBLE` into the `else` clause around L129.
https://github.com/llvm/llvm-project/pull/76175
More information about the llvm-commits
mailing list