[llvm] [libc][bazel] Adds missing targets for double smoke tests (PR #226823)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 09:02:53 PDT 2026


https://github.com/Sukumarsawant updated https://github.com/llvm/llvm-project/pull/226823

>From 348a9359d46ee32ad3ccf7b62ce5f339667187af Mon Sep 17 00:00:00 2001
From: s4chinjha <170951715+s4chinjha at users.noreply.github.com>
Date: Mon, 28 Sep 2026 00:15:46 +0530
Subject: [PATCH 1/2] added target for double smoke tests

---
 .../libc/test/src/math/smoke/BUILD.bazel      | 23 +++++++++++++++++++
 1 file changed, 23 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 0a79dcd33a58783..54fc29cefd766f9 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
@@ -10,6 +10,8 @@ package(default_visibility = ["//visibility:public"])
 
 licenses(["notice"])
 
+math_test(name = "acos")
+
 math_test(
     name = "acosbf16",
     deps = [
@@ -27,6 +29,8 @@ math_test(name = "acoshf16")
 
 math_test(name = "acospif16")
 
+math_test(name = "asin")
+
 math_test(
     name = "asinbf16",
     deps = [
@@ -42,6 +46,8 @@ math_test(name = "asinhf")
 
 math_test(name = "asinhf16")
 
+math_test(name = "asinpi")
+
 math_test(name = "asinpif16")
 
 math_test(name = "atan2")
@@ -125,6 +131,10 @@ math_test(
         "//libc:__support_integer_literals",
     ],
 )
+math_test(
+    name = "iscanonical",
+    hdrs = ["IsCanonicalTest.h"],
+)
 
 math_test(
     name = "iscanonicalbf16",
@@ -2328,6 +2338,11 @@ math_test(
 
 math_test(name = "expm1f16")
 
+math_test(
+    name = "issignaling",
+    hdrs = ["IsSignalingTest.h"],
+)
+
 math_test(
     name = "issignalingbf16",
     hdrs = ["IsSignalingTest.h"],
@@ -2361,6 +2376,14 @@ math_test(name = "logf16")
 
 math_test(name = "lgammaf16")
 
+math_test(
+    name = "nan",
+    deps = [
+        "//libc:__support_macros_sanitizer",
+        "//libc:hdr_signal_macros",
+    ],
+)
+
 math_test(
     name = "nanbf16",
     deps = [

>From 8c0e1273f816f2eb6bee843d36f44d52f4f657a8 Mon Sep 17 00:00:00 2001
From: s4chinjha <s4chinjha at gmail.com>
Date: Mon, 28 Sep 2026 00:55:17 +0530
Subject: [PATCH 2/2] fix formatting

---
 .../llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel    | 1 +
 1 file changed, 1 insertion(+)

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 54fc29cefd766f9..c4a43c7f390e9a2 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
@@ -131,6 +131,7 @@ math_test(
         "//libc:__support_integer_literals",
     ],
 )
+
 math_test(
     name = "iscanonical",
     hdrs = ["IsCanonicalTest.h"],



More information about the llvm-commits mailing list