[PATCH] D96195: [HIP] Fix managed variable linkage
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 18 16:21:27 PST 2021
yaxunl updated this revision to Diff 324806.
yaxunl added a comment.
keep managed var in llvm.compiler.used since they need runtime handling even if they are not used in device code.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96195/new/
https://reviews.llvm.org/D96195
Files:
clang/lib/CodeGen/CGCUDANV.cpp
clang/lib/CodeGen/CGCUDARuntime.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGenCUDA/device-var-linkage.cu
clang/test/CodeGenCUDA/managed-var.cu
llvm/lib/IR/ReplaceConstant.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96195.324806.patch
Type: text/x-patch
Size: 19221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210219/39668a1e/attachment-0001.bin>
More information about the cfe-commits
mailing list