[libc-commits] [libc] [libc][math] disable ddivf128 smoke-test for GPU targets (PR #242831)

Sachin 🗲 via libc-commits libc-commits at lists.llvm.org
Sun Nov 15 06:21:14 PST 2026


https://github.com/s4chinjha created https://github.com/llvm/llvm-project/pull/242831

None

>From 91e35a03cfa6491b31cf76288ab0958fdb4def4f Mon Sep 17 00:00:00 2001
From: s4chinjha <s4chinjha at gmail.com>
Date: Sun, 15 Nov 2026 19:48:01 +0530
Subject: [PATCH] [libc][math] disable ddivf128 smoke-test for GPU targets

---
 libc/test/src/math/smoke/CMakeLists.txt | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/libc/test/src/math/smoke/CMakeLists.txt b/libc/test/src/math/smoke/CMakeLists.txt
index bc0d6c99b8744f..33808529da001f 100644
--- a/libc/test/src/math/smoke/CMakeLists.txt
+++ b/libc/test/src/math/smoke/CMakeLists.txt
@@ -6789,17 +6789,20 @@ add_fp_unittest(
     libc.src.math.ddivl
 )
 
-add_fp_unittest(
-  ddivf128_test
-  SUITE
-    libc-math-smoke-tests
-  SRCS
-    ddivf128_test.cpp
-  HDRS
-    DivTest.h
-  DEPENDS
-    libc.src.math.ddivf128
-)
+# TODO: Re-enable the test for GPU.
+if(NOT LIBC_TARGET_OS_IS_GPU)
+  add_fp_unittest(
+    ddivf128_test
+    SUITE
+      libc-math-smoke-tests
+    SRCS
+      ddivf128_test.cpp
+    HDRS
+      DivTest.h
+    DEPENDS
+      libc.src.math.ddivf128
+  )
+endif()
 
 add_fp_unittest(
   bfloat16_add_test



More information about the libc-commits mailing list