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

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 19:09:11 PST 2025


jhuber6 wrote:

> The printf binding pass should be added by clang, not the backend. It's specific to that path for OpenCL. Plus, the pass does respect nobuiltin

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.

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


More information about the llvm-commits mailing list