Skip to content

Commit

Permalink
[libc][fix] Fix new test that crashes the NVPTX backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuber6 committed Feb 15, 2024
1 parent fc0b67e commit 4b5c21a
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions libc/test/src/__support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b5c21a

Please sign in to comment.