[all-commits] [llvm/llvm-project] 594286: [clang][AMDGPU][CUDA] Handle __builtin_printf for ...

Mészáros Gergely via All-commits all-commits at lists.llvm.org
Mon Feb 5 09:53:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5942868a215ce4dbd927a7f0b06432e1eeaed698
      https://github.com/llvm/llvm-project/commit/5942868a215ce4dbd927a7f0b06432e1eeaed698
  Author: Mészáros Gergely <gergely at streamhpc.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGGPUBuiltin.cpp
    A clang/test/CodeGenCUDA/printf-builtin.cu
    A clang/test/CodeGenHIP/printf-builtin.hip

  Log Message:
  -----------
  [clang][AMDGPU][CUDA] Handle __builtin_printf for device printf (#68515)

Previously `__builtin_printf` would result to emitting call to `printf`,
even though directly calling `printf` was translated.

Ref: #68478




More information about the All-commits mailing list