[PATCH] D158246: [amdgpu] WIP variadics
    Jon Chesterfield via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug 17 21:23:52 PDT 2023
    
    
  
JonChesterfield added a comment.
The lowering pass is broadly right, missing a few edge cases.
================
Comment at: libc/config/gpu/entrypoints.txt:88
+    libc.src.stdio.vsnprintf
     libc.src.stdio.puts
     libc.src.stdio.fopen
----------------
^these try to build, but fail. I haven't managed to debug the libc cmake to work out what I'm missing
================
Comment at: libc/test/src/__support/CMakeLists.txt:62
 
-# The GPU does not support varargs currently.
-if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
-  add_libc_test(
-    arg_list_test
-    SUITE
-      libc-support-tests
-    SRCS
-      arg_list_test.cpp
-    DEPENDS
-      libc.src.__support.arg_list
-  )
-endif()
+add_libc_test(
+  arg_list_test
----------------
this one builds and passes
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158246/new/
https://reviews.llvm.org/D158246
    
    
More information about the llvm-commits
mailing list