[libc-commits] [PATCH] D157544: [libc][Fix] Move generic stdio implementations to a new directory

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Aug 9 13:32:23 PDT 2023


jhuber6 updated this revision to Diff 548757.
jhuber6 added a comment.

Make the GPU early exit in the generic version. This is the same approach that the math uses but we don't make all the entrypoints in this case so just special case exit for the GPU.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157544/new/

https://reviews.llvm.org/D157544

Files:
  libc/src/stdio/CMakeLists.txt
  libc/src/stdio/fputs.cpp
  libc/src/stdio/generic/CMakeLists.txt
  libc/src/stdio/generic/fputs.cpp
  libc/src/stdio/generic/puts.cpp
  libc/src/stdio/generic/stderr.cpp
  libc/src/stdio/generic/stdin.cpp
  libc/src/stdio/generic/stdout.cpp
  libc/src/stdio/puts.cpp
  libc/src/stdio/stderr.cpp
  libc/src/stdio/stdin.cpp
  libc/src/stdio/stdout.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157544.548757.patch
Type: text/x-patch
Size: 7868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230809/f5e563f1/attachment.bin>


More information about the libc-commits mailing list