diff options
author | Tue Ly <lntue@google.com> | 2022-01-27 12:12:38 -0500 |
---|---|---|
committer | Tue Ly <lntue@google.com> | 2022-01-27 13:36:39 -0500 |
commit | 4a979c42564e622fdf283ae8d0b7a59ebe567533 (patch) | |
tree | 1c1b5e9e4935a3aad842f45d2f5a7ea407d47b0f /libc | |
parent | [X86] Fold MOVMSK(CONCAT(X,Y)) -> MOVMSK(AND/OR(X,Y)) for all_of/any_of patterns (diff) | |
download | llvm-project-4a979c42564e622fdf283ae8d0b7a59ebe567533.tar.gz llvm-project-4a979c42564e622fdf283ae8d0b7a59ebe567533.tar.bz2 llvm-project-4a979c42564e622fdf283ae8d0b7a59ebe567533.zip |
[libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64.
Guard sqrt_80_bit_long_double.h header to not be included with aarch64.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D118389
Diffstat (limited to 'libc')
-rw-r--r-- | libc/src/__support/FPUtil/generic/sqrt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/src/__support/FPUtil/generic/sqrt.h b/libc/src/__support/FPUtil/generic/sqrt.h index 92b18e297ae1..b92559807372 100644 --- a/libc/src/__support/FPUtil/generic/sqrt.h +++ b/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 { |