[libc-commits] [libc] 4b5c21a - [libc][fix] Fix new test that crashes the NVPTX backend

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Feb 14 20:39:18 PST 2024


Author: Joseph Huber
Date: 2024-02-14T22:39:12-06:00
New Revision: 4b5c21aa07fc6ba477109ec8b83395071ae49e23

URL: https://github.com/llvm/llvm-project/commit/4b5c21aa07fc6ba477109ec8b83395071ae49e23
DIFF: https://github.com/llvm/llvm-project/commit/4b5c21aa07fc6ba477109ec8b83395071ae49e23.diff

LOG: [libc][fix] Fix new test that crashes the NVPTX backend

Added: 
    

Modified: 
    libc/test/src/__support/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index 231b01e0ee50a7..850f5385ed3431 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -86,16 +86,19 @@ if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
   )
 endif()
 
-add_libc_test(
-  uint_test
-  SUITE
-    libc-support-tests
-  SRCS
-    uint_test.cpp
-  DEPENDS
-    libc.src.__support.uint
-    libc.src.__support.CPP.optional
-)
+# FIXME: Crash in NVPTX target lowering for calls
+if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
+  add_libc_test(
+    uint_test
+    SUITE
+      libc-support-tests
+    SRCS
+      uint_test.cpp
+    DEPENDS
+      libc.src.__support.uint
+      libc.src.__support.CPP.optional
+  )
+endif()
 
 add_libc_test(
   integer_literals_test


        


More information about the libc-commits mailing list