[libc-commits] [libc] fdd4269 - [libc] Revert "Guard sqrt_80_bit_long_double.h header to not be included with aarch64."

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu Jan 27 13:11:26 PST 2022


Author: Siva Chandra Reddy
Date: 2022-01-27T21:05:54Z
New Revision: fdd4269f2e0c1c7fdee28aa7d10e0940476c0be8

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

LOG: [libc] Revert "Guard sqrt_80_bit_long_double.h header to not be included with aarch64."

This reverts commit 4a979c42564e622fdf283ae8d0b7a59ebe567533.

Added: 
    

Modified: 
    libc/src/__support/FPUtil/generic/sqrt.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/FPUtil/generic/sqrt.h b/libc/src/__support/FPUtil/generic/sqrt.h
index b92559807372d..92b18e297ae14 100644
--- a/libc/src/__support/FPUtil/generic/sqrt.h
+++ b/libc/src/__support/FPUtil/generic/sqrt.h
@@ -9,15 +9,12 @@
 #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 {
 


        


More information about the libc-commits mailing list