diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-01-20 21:56:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 21:56:46 -0600 |
commit | 2d9f40694324a72c2b7a3d6a9cfcc7ce8069afc1 (patch) | |
tree | b5f404c609493a1d9adda458d4666778347fb44a /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 585858aeb6247b3892218edb9d353c63f1c33186 (diff) | |
download | llvm-2d9f40694324a72c2b7a3d6a9cfcc7ce8069afc1.zip llvm-2d9f40694324a72c2b7a3d6a9cfcc7ce8069afc1.tar.gz llvm-2d9f40694324a72c2b7a3d6a9cfcc7ce8069afc1.tar.bz2 |
[OpenMP] Adjust 'printf' handling in the OpenMP runtime (#123670)
Summary:
We used to avoid a lot of this stuff because we didn't properly handle
variadics in device code. That's been solved for now, so we can just
make an internal printf handler that forwards to the external `vprintf`
function. This is either provided by NVIDIA's SDK or by the GPU libc
implementation.
The main reason for doing this is because it prevents the stupid AMDGPU
printf pass from mangling our beautiful printfs!
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions