[libc-commits] [libc] 9914609 - Revert "[libc] Enable 'sscanf' on the GPU (#100211)"

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Jul 24 05:46:52 PDT 2024


Author: Joseph Huber
Date: 2024-07-24T07:46:39-05:00
New Revision: 991460946886891de939203cc6a228b693efe406

URL: https://github.com/llvm/llvm-project/commit/991460946886891de939203cc6a228b693efe406
DIFF: https://github.com/llvm/llvm-project/commit/991460946886891de939203cc6a228b693efe406.diff

LOG: Revert "[libc] Enable 'sscanf' on the GPU (#100211)"

Summary:
This fails tests in some situations, revert until it can be fixed.
This reverts commit 445bb35f954ecd5c60ced71523f6b32fc306d557.

Added: 
    

Modified: 
    libc/config/gpu/entrypoints.txt
    libc/docs/gpu/support.rst

Removed: 
    


################################################################################
diff  --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt
index f7e89bdcd95cc..fa878d8999227 100644
--- a/libc/config/gpu/entrypoints.txt
+++ b/libc/config/gpu/entrypoints.txt
@@ -186,7 +186,6 @@ set(TARGET_LIBC_ENTRYPOINTS
     libc.src.stdio.sprintf
     libc.src.stdio.vsnprintf
     libc.src.stdio.vsprintf
-    libc.src.stdio.sscanf
     libc.src.stdio.feof
     libc.src.stdio.ferror
     libc.src.stdio.fflush

diff  --git a/libc/docs/gpu/support.rst b/libc/docs/gpu/support.rst
index 5ef298a2ba58f..71dd1b30c5e3a 100644
--- a/libc/docs/gpu/support.rst
+++ b/libc/docs/gpu/support.rst
@@ -234,11 +234,10 @@ printf         |check|    |check|
 vprintf        |check|    |check|
 fprintf        |check|    |check|
 vfprintf       |check|    |check|
-sprintf        |check|
-snprintf       |check|
-vsprintf       |check|
-vsnprintf      |check|
-sscanf         |check|
+sprintf        |check|    |check|
+snprintf       |check|    |check|
+vsprintf       |check|    |check|
+vsnprintf      |check|    |check|
 putchar        |check|    |check|
 fclose         |check|    |check|
 fopen          |check|    |check|


        


More information about the libc-commits mailing list