Files
clang-p2996/clang/lib/CodeGen/CodeGenModule.cpp
Aniket Lal c3ce5684a8 [Clang][OpenCL][AMDGPU] OpenCL Kernel stubs should be assigned alwaysinline attribute (#137769)
OpenCL Kernels body is emitted as stubs and the kernel is emitted as
call to respective stub.
(https://github.com/llvm/llvm-project/pull/115821).
The stub function should be alwaysinlined, since call to stub can cause
performance drop.

Co-authored-by: anikelal <anikelal@amd.com>
2025-05-07 15:42:23 +05:30

307 KiB