[libc-commits] [clang] [libc] [llvm] [libc] Implement (v|f)printf on the GPU (PR #96369)

Matt Arsenault via libc-commits libc-commits at lists.llvm.org
Mon Jul 1 06:09:24 PDT 2024


arsenm wrote:

> You could theoretically break this if you didn't go through the C ABI and ignored type promotion, but I'm not concerned with that kind of misuse since it's against the ABI in the first place.

The IR has its own ABI that may or may not match whatever the platform "C ABI' is. Especially given the lack of a formal platform ABI specification, I would not characterize not using the C ABI as misuse or against the ABI 


https://github.com/llvm/llvm-project/pull/96369


More information about the libc-commits mailing list