[PATCH] D94814: [HIP] Support `__managed__` attribute
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 15 11:45:54 PST 2021
yaxunl created this revision.
yaxunl added a reviewer: tra.
Herald added subscribers: dexonsmith, jdoerfert, hiraditya, mgorny.
Herald added a reviewer: aaron.ballman.
yaxunl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch implements codegen for `__managed__` variable attribute for HIP.
Diagnostics will be added later.
https://reviews.llvm.org/D94814
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Sema/SemaInternal.h
clang/lib/CodeGen/CGCUDANV.cpp
clang/lib/CodeGen/CGCUDARuntime.h
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenCUDA/Inputs/cuda.h
clang/test/CodeGenCUDA/managed-var.cu
clang/test/Misc/pragma-attribute-supported-attributes-list.test
llvm/include/llvm/IR/ReplaceConstant.h
llvm/lib/IR/CMakeLists.txt
llvm/lib/IR/ReplaceConstant.cpp
llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94814.317035.patch
Type: text/x-patch
Size: 27199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210115/d509f1f3/attachment-0001.bin>
More information about the cfe-commits
mailing list