[libc-commits] [PATCH] D118389: [libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jan 27 10:36:52 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a979c42564e: [libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64. (authored by lntue).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118389/new/
https://reviews.llvm.org/D118389
Files:
libc/src/__support/FPUtil/generic/sqrt.h
Index: libc/src/__support/FPUtil/generic/sqrt.h
===================================================================
--- libc/src/__support/FPUtil/generic/sqrt.h
+++ libc/src/__support/FPUtil/generic/sqrt.h
@@ -9,12 +9,15 @@
#ifndef LLVM_LIBC_SRC_SUPPORT_FPUTIL_GENERIC_SQRT_H
#define LLVM_LIBC_SRC_SUPPORT_FPUTIL_GENERIC_SQRT_H
-#include "sqrt_80_bit_long_double.h"
#include "src/__support/CPP/TypeTraits.h"
#include "src/__support/FPUtil/FEnvImpl.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/PlatformDefs.h"
+#if defined(SPECIAL_X86_LONG_DOUBLE)
+#include "sqrt_80_bit_long_double.h"
+#endif // SPECIAL_X86_LONG_DOUBLE
+
namespace __llvm_libc {
namespace fputil {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118389.403727.patch
Type: text/x-patch
Size: 709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220127/0f465ea6/attachment.bin>
More information about the libc-commits
mailing list