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

via libc-commits libc-commits at lists.llvm.org
Sun Nov 15 06:40:31 PST 2026


Author: Sachin 🗲
Date: 2026-11-15T09:40:25-05:00
New Revision: 7600443571ed816f1153ad8de1f76a61732983c6

URL: https://github.com/llvm/llvm-project/commit/7600443571ed816f1153ad8de1f76a61732983c6
DIFF: https://github.com/llvm/llvm-project/commit/7600443571ed816f1153ad8de1f76a61732983c6.diff

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

addresses the issue reported in
https://github.com/llvm/llvm-project/pull/242651#issuecomment-6895016120
by temporarily disabling the smoke test for GPU targets until a fix is
landed, with a TODO note to re-enable it afterward

Added: 
    

Modified: 
    libc/test/src/math/smoke/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/math/smoke/CMakeLists.txt b/libc/test/src/math/smoke/CMakeLists.txt
index bb7bc9b176074..754430326df0b 100644
--- a/libc/test/src/math/smoke/CMakeLists.txt
+++ b/libc/test/src/math/smoke/CMakeLists.txt
@@ -6837,18 +6837,21 @@ 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
-    libc.src.__support.FPUtil.float128
-)
+# 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
+      libc.src.__support.FPUtil.float128
+  )
+endif()
 
 add_fp_unittest(
   bfloat16_add_test


        


More information about the libc-commits mailing list