[all-commits] [llvm/llvm-project] bd5126: [clang][CodeGen] Preserve addrspace of enqueue_ker...
jofrn via All-commits
all-commits at lists.llvm.org
Thu Jul 10 14:43:45 PDT 2025
Branch: refs/heads/users/jofrn/builtin-addrspace-enqueue-kernel
Home: https://github.com/llvm/llvm-project
Commit: bd5126d5b636bf751f12a5e58e5293736347e5b5
https://github.com/llvm/llvm-project/commit/bd5126d5b636bf751f12a5e58e5293736347e5b5
Author: jofrn <jofernau at amd.com>
Date: 2025-07-10 (Thu, 10 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.
__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