[libc-commits] [libc] [libc] Enable the `acoshf` math function on AMD GPUs (PR #152157)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 5 08:17:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu

@llvm/pr-subscribers-libc

Author: Leandro Lacerda (leandrolcampos)

<details>
<summary>Changes</summary>

This patch adds the `acoshf` math function to the AMDGPU build.

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


1 Files Affected:

- (modified) libc/config/gpu/amdgpu/entrypoints.txt (+1) 


``````````diff
diff --git a/libc/config/gpu/amdgpu/entrypoints.txt b/libc/config/gpu/amdgpu/entrypoints.txt
index 291a2d01db5b6..cf2b8c6a55878 100644
--- a/libc/config/gpu/amdgpu/entrypoints.txt
+++ b/libc/config/gpu/amdgpu/entrypoints.txt
@@ -282,6 +282,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     # math.h entrypoints
     libc.src.math.acos
     libc.src.math.acosf
+    libc.src.math.acoshf
     libc.src.math.asin
     libc.src.math.asinf
     libc.src.math.asinhf

``````````

</details>


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


More information about the libc-commits mailing list