[PATCH] D60455: [SYCL] Implement SYCL device code outlining
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 12 04:37:30 PST 2019
bader updated this revision to Diff 228868.
bader added a subscriber: hfinkel.
bader added a comment.
Applied two remaining comments from Aaron.
- Split diagnostics for `sycl_kernel` attribute to provide more informative message.
- Moved attribute target check to TableGen file. I stole a workaround for a function template subject emulation from @hfinkel C++ JIT compiler prototype (https://github.com/hfinkel/llvm-project-cxxjit/blob/cxxjit/clang/include/clang/Basic/Attr.td#L121).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60455/new/
https://reviews.llvm.org/D60455
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/AST/ASTContext.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGenSYCL/device-functions.cpp
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/SemaSYCL/device-attributes-on-non-sycl.cpp
clang/test/SemaSYCL/device-attributes.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60455.228868.patch
Type: text/x-patch
Size: 15056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191112/bd8a129b/attachment.bin>
More information about the cfe-commits
mailing list