[libc-commits] [libc] [libc][math][c23] Temporarily disable f16div{l, f128} on AArch64 (PR #97182)

via libc-commits libc-commits at lists.llvm.org
Sat Jun 29 16:01:57 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: OverMighty (overmighty)

<details>
<summary>Changes</summary>

Due to Clang 11 backend error ("Unsupported library call operation!").

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/1105
- https://lab.llvm.org/buildbot/#/builders/71/builds/1100


---
Full diff: https://github.com/llvm/llvm-project/pull/97182.diff


1 Files Affected:

- (modified) libc/config/linux/aarch64/entrypoints.txt (-8) 


``````````diff
diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index 579d720ebeded..8a26536cea9a0 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -509,7 +509,6 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.copysignf16
     libc.src.math.f16div
     libc.src.math.f16divf
-    libc.src.math.f16divl
     libc.src.math.f16fmaf
     libc.src.math.f16sqrtf
     libc.src.math.fabsf16
@@ -562,13 +561,6 @@ if(LIBC_TYPES_HAS_FLOAT16)
     libc.src.math.ufromfpf16
     libc.src.math.ufromfpxf16
   )
-
-  if(LIBC_TYPES_HAS_FLOAT128)
-    list(APPEND TARGET_LIBM_ENTRYPOINTS
-      # math.h C23 mixed _Float16 and _Float128 entrypoints
-      libc.src.math.f16divf128
-    )
-  endif()
 endif()
 
 if(LIBC_TYPES_HAS_FLOAT128)

``````````

</details>


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


More information about the libc-commits mailing list