[clang] [clang][AMDGPU][CUDA] Handle __builtin_printf for device printf (PR #68515)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 4 06:24:17 PST 2024


yxsamliu wrote:

> It looks reasonable to me, although I'm not really an AMDGPU person. /me summons @arsenm ?

AMDGPU backend relies on LLVM passes to translate printf at IR level. __builtin_printf and printf should be equivalent other than the name.

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


More information about the cfe-commits mailing list