Skip to content

[libc] Enable the acoshf math function on AMD GPUs#152157

Merged
jhuber6 merged 1 commit into
llvm:mainfrom
leandrolcampos:EnableMathFunc
Aug 5, 2025
Merged

[libc] Enable the acoshf math function on AMD GPUs#152157
jhuber6 merged 1 commit into
llvm:mainfrom
leandrolcampos:EnableMathFunc

Conversation

@leandrolcampos
Copy link
Copy Markdown
Contributor

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

@llvmbot
Copy link
Copy Markdown
Member

llvmbot commented Aug 5, 2025

@llvm/pr-subscribers-backend-amdgpu

@llvm/pr-subscribers-libc

Author: Leandro Lacerda (leandrolcampos)

Changes

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 --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

@jhuber6 jhuber6 merged commit 448c884 into llvm:main Aug 5, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants