[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 18:58:59 PST 2025


jhuber6 wrote:

> > The main reason for doing this is because it prevents the stupid AMDGPU
> > printf pass from mangling our beautiful printfs!
> 
> We should probably find a better solution to this part

My solution is to delete it and use my solution of just calling a function called `printf`, but that's probably not popular internally. So, to do the easy workaround, just stop calling the C symbol `printf` in the runtime.

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


More information about the llvm-commits mailing list