aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlex Voicu <alexandru.voicu@amd.com>2024-07-05 14:08:07 +0100
committerGitHub <noreply@github.com>2024-07-05 14:08:07 +0100
commitd4216b5d0b111879f153c53caecf8ea011296cec (patch)
tree2ffc8f3928f3d89ab7a57d558c3757e89021e265 /clang/lib/CodeGen/CodeGenModule.cpp
parent7102eae4c0640492e1fcea3da7f22f4e75a4f062 (diff)
downloadllvm-d4216b5d0b111879f153c53caecf8ea011296cec.zip
llvm-d4216b5d0b111879f153c53caecf8ea011296cec.tar.gz
llvm-d4216b5d0b111879f153c53caecf8ea011296cec.tar.bz2
[clang][CodeGen][AMDGPU] Enable AMDGPU `printf` for `spirv64-amd-amdhsa` (#97132)
This enables the AMDGPU specific implementation of `printf` when compiling for AMDGCN flavoured SPIR-V, the consequence being that the expansion into ROCDL calls & friends gets expanded before "lowering" to SPIR-V and gets carried through. The only relatively "novel" aspect is that the `callAppendStringN` is simplified to take the type of the passed in arguments, as opposed to querying them from the module. This is a neutral change since the arguments were passed directly to the call, without any attempt to cast them, hence the assumption that the actual types match the formal ones was already baked in.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions