[PATCH] D117246: [OpenMP] Add support for linking AMDGPU images
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 13 13:15:08 PST 2022
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, gregrodgers, JonChesterfield, ronlieb.
Herald added subscribers: kerbowa, guansong, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, wdng.
Herald added a project: clang.
This patch adds support for linking AMDGPU images using the LLD binary.
AMDGPU files are always bitcode images and will always use the LTO
backend. Additionally we now pass the default architecture found with
the `amdgpu-arch` tool to the argument list.
Depends on D117156 <https://reviews.llvm.org/D117156>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117246
Files:
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117246.399760.patch
Type: text/x-patch
Size: 3735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220113/38fb0ed5/attachment-0001.bin>
More information about the cfe-commits
mailing list