[PATCH] D120271: [Clang] Add offload kind to embedded offload object
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 21 11:45:24 PST 2022
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, JonChesterfield.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
This patch adds the offload kind to the embedded section name in
preparation for offloading to different kinda like CUDA or HIP. Also
simplify the key handling by adding a dense map info implementation for
the device file struct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120271
Files:
clang/lib/Driver/ToolChains/Clang.cpp
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120271.410352.patch
Type: text/x-patch
Size: 7331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220221/dee06517/attachment.bin>
More information about the cfe-commits
mailing list