diff options
author | Aniket Lal <lalaniket8@gmail.com> | 2025-05-07 15:42:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-07 15:42:23 +0530 |
commit | c3ce5684a8b408220eed983d065edba0e6ed5016 (patch) | |
tree | 77a95f0b22a5e8bcb9458810cf8231946c81a9fb /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 62385b848757f2dc35070eadb2ccd921508497dc (diff) | |
download | llvm-c3ce5684a8b408220eed983d065edba0e6ed5016.zip llvm-c3ce5684a8b408220eed983d065edba0e6ed5016.tar.gz llvm-c3ce5684a8b408220eed983d065edba0e6ed5016.tar.bz2 |
[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>
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions