|
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4 |
|
| #
8a206124 |
| 22-Aug-2023 |
Joseph Huber <jhuber6@vols.utk.edu> |
[AMDGPU] Respect `nobuiltin` when converting `printf`
The AMDGPU backend uses a pass to transform calls to the `printf` function to a built-in verision for either HIP or OpenCL. Currently this does
[AMDGPU] Respect `nobuiltin` when converting `printf`
The AMDGPU backend uses a pass to transform calls to the `printf` function to a built-in verision for either HIP or OpenCL. Currently this does not respect `-fno-builtin` and is always emitted. This allows the user to turn off this functionality as is standard for these types of built-in transformations. The motivation behind this change is to allow the `libc` project to provide a linkable version of the `printf` function in the future.
Reviewed By: sameerds
Differential Revision: https://reviews.llvm.org/D158477
show more ...
|