[llvm] [OpenMP] Adjust 'printf' handling in the OpenMP runtime (PR #123670)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 19:15:18 PST 2025


arsenm wrote:

> I thought it was used for HIP as well, but I definitely wouldn't be opposed since it screws with my C stuff. Though in general this patch does clean up the printf handling in the OpenMP runtime a lot so it should land as well.

No, see clang/test/CodeGenHIP/printf-builtin.hip. It has 2 options and both directly emit the inlined implementation with __ockl functions 


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


More information about the llvm-commits mailing list