[PATCH] D123353: [CUDA][HIP] Externalize kernels in anonymous name space
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 7 20:07:20 PDT 2022
yaxunl created this revision.
yaxunl added a reviewer: tra.
Herald added a project: All.
yaxunl requested review of this revision.
kernels in anonymous name space needs to have unique name
to avoid duplicate symbols.
Fixes: https://github.com/llvm/llvm-project/issues/54560
https://reviews.llvm.org/D123353
Files:
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CGCUDANV.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/test/CodeGenCUDA/kernel-in-anon-ns.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123353.421392.patch
Type: text/x-patch
Size: 7758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220408/5872c9eb/attachment.bin>
More information about the cfe-commits
mailing list