[libc-commits] [libc] [libc] Template the writing mode for the writer class (PR #111559)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Wed Oct 9 13:13:09 PDT 2024
jhuber6 wrote:
> I think the best way to handle this is to allow GPUs to disable the writer modes that it doesn't need, which should hopefully solve your long compile times, while also allowing the CPU targets to have the behavior they want.
The GPU target uses `vasprintf`. Maybe I could just make `vasprintf` just use `snprintf` and disable the others? Possible that could work since I think the `stream` case is unused due to `printf` being via RPC directly.
https://github.com/llvm/llvm-project/pull/111559
More information about the libc-commits
mailing list