[all-commits] [llvm/llvm-project] 4ea1d4: [CUDA][HIP] Externalize kernels in anonymous name ...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Sun Apr 10 18:56:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4ea1d435099f992cc16127619b0feb64e070630d
https://github.com/llvm/llvm-project/commit/4ea1d435099f992cc16127619b0feb64e070630d
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2022-04-10 (Sun, 10 Apr 2022)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGenCUDA/kernel-in-anon-ns.cu
Log Message:
-----------
[CUDA][HIP] Externalize kernels in anonymous name space
kernels in anonymous name space needs to have unique name
to avoid duplicate symbols.
Fixes: https://github.com/llvm/llvm-project/issues/54560
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D123353
More information about the All-commits
mailing list