[all-commits] [llvm/llvm-project] 15d36a: [clang][CodeGen] Preserve addrspace of enqueue_ker...

jofrn via All-commits all-commits at lists.llvm.org
Fri Jul 11 14:00:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15d36aa4ce6f78579c6a6a44226502621bb0c241
      https://github.com/llvm/llvm-project/commit/15d36aa4ce6f78579c6a6a44226502621bb0c241
  Author: jofrn <jofernau at amd.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl

  Log Message:
  -----------
  [clang][CodeGen] Preserve addrspace of enqueue_kernel builtin. (#148062)

__enqueue_kernel_varargs' last parameter is in addrspace(5), but CodeGen
currently misses this qualifier. This commit fixes the code to preserve
the qualifier by referencing Alloca, which has its casts removed, rather
than TmpPtr.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list