[libc-commits] [libc] [libc] Initial support so that libc-shared-tests can be built with pp64le (PR #188882)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 26 19:04:14 PDT 2026


================
@@ -76,8 +79,10 @@ LIBC_INLINE static constexpr cpp::enable_if_t<
 sqrt(InType x) {
   if constexpr (internal::SpecialLongDouble<OutType>::VALUE &&
                 internal::SpecialLongDouble<InType>::VALUE) {
+#ifdef LIBC_TYPES_LONG_DOUBLE_IS_X86_FLOAT80
----------------
lntue wrote:

unfortunately `if constexpr` needs an explicit `else` clause for the codes not compiled.

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


More information about the libc-commits mailing list