[all-commits] [llvm/llvm-project] 4b0a97: [OpenCL][NVPTX] Don't set calling convention for O...
Hongyu Chen via All-commits
all-commits at lists.llvm.org
Wed Dec 3 00:53:48 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b0a9759395f3e9cbefa9c194ca331f4d88003bf
https://github.com/llvm/llvm-project/commit/4b0a9759395f3e9cbefa9c194ca331f4d88003bf
Author: Hongyu Chen <xxs_chy at outlook.com>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/NVPTX.cpp
M clang/lib/CodeGen/Targets/SPIR.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/CodeGenOpenCL/ptx-calls.cl
M clang/test/CodeGenOpenCL/reflect.cl
Log Message:
-----------
[OpenCL][NVPTX] Don't set calling convention for OpenCL kernel (#170170)
Fixes #154772
We previously set `ptx_kernel` for all kernels. But it's incorrect to
add `ptx_kernel` to the stub version of kernel introduced in #115821.
This patch copies the workaround of AMDGPU.
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