[llvm] [libc][Bazel] Add missing float smoke math tests (PR #227206)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 11 11:58:18 PDT 2026
https://github.com/Popie52 updated https://github.com/llvm/llvm-project/pull/227206
>From 071671eb9ef831f04d55509f82f040537564b20d Mon Sep 17 00:00:00 2001
From: popie52 <popiesailor at gmail.com>
Date: Tue, 29 Sep 2026 12:36:22 +0530
Subject: [PATCH] [libc][Bazel] Add missing float smoke math tests
---
.../libc/test/src/math/smoke/BUILD.bazel | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
index d7492346e08cf..5f13e8c99805f 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
@@ -27,6 +27,8 @@ math_test(name = "acosf16")
math_test(name = "acoshf16")
+math_test(name = "acospif")
+
math_test(name = "acospif16")
math_test(name = "asin")
@@ -46,6 +48,8 @@ math_test(name = "asinhf")
math_test(name = "asinhf16")
+math_test(name = "asinpif")
+
math_test(name = "asinpi")
math_test(name = "asinpif16")
@@ -83,6 +87,31 @@ math_test(name = "atanhf16")
math_test(name = "atanpif16")
+math_test(
+ name = "bf16addf",
+ hdrs = ["AddTest.h"],
+)
+
+math_test(
+ name = "bf16divf",
+ hdrs = ["DivTest.h"],
+)
+
+math_test(
+ name = "bf16fmaf",
+ hdrs = ["FmaTest.h"],
+)
+
+math_test(
+ name = "bf16mulf",
+ hdrs = ["MulTest.h"],
+)
+
+math_test(
+ name = "bf16subf",
+ hdrs = ["SubTest.h"],
+)
+
math_test(
name = "canonicalize",
hdrs = ["CanonicalizeTest.h"],
@@ -145,6 +174,11 @@ math_test(
],
)
+math_test(
+ name = "iscanonicalf",
+ hdrs = ["IsCanonicalTest.h"],
+)
+
math_test(
name = "iscanonicalf16",
hdrs = ["IsCanonicalTest.h"],
@@ -456,6 +490,8 @@ math_test(
hdrs = ["SqrtTest.h"],
)
+math_test(name = "rsqrtf")
+
math_test(name = "rsqrtf16")
math_test(
@@ -2328,6 +2364,8 @@ math_test(name = "cospif16")
math_test(name = "exp10f16")
+math_test(name = "exp10m1f")
+
math_test(name = "exp10m1f16")
math_test(name = "exp2f16")
@@ -2358,6 +2396,11 @@ math_test(
],
)
+math_test(
+ name = "issignalingf",
+ hdrs = ["IsSignalingTest.h"],
+)
+
math_test(
name = "issignalingf16",
hdrs = ["IsSignalingTest.h"],
@@ -2381,6 +2424,8 @@ math_test(name = "log10p1f16")
math_test(name = "logf16")
+math_test(name = "lgammaf")
+
math_test(name = "lgammaf16")
math_test(
@@ -2400,6 +2445,14 @@ math_test(
],
)
+math_test(
+ name = "nanf",
+ deps = [
+ "//libc:__support_macros_sanitizer",
+ "//libc:hdr_signal_macros",
+ ],
+)
+
math_test(
name = "nanf16",
deps = [
More information about the llvm-commits
mailing list