[PATCH] D129784: [HIP] Allow the new driver to compile HIP in non-RDC mode
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 14 08:51:37 PDT 2022
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tra, yaxunl, JonChesterfield.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
The new driver primarily allows us to support RDC-mode compilations with
proper linking. This is not needed for non-RDC mode compilation, but we
still would like the new driver to be able to handle this mode so we can
transition away from the old driver in the future. This patch adds the
necessary code to support creating a fatbinary for HIP code generation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129784
Files:
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/hip-binding.hip
clang/test/Driver/hip-phases.hip
clang/test/Driver/hip-toolchain-no-rdc.hip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129784.444686.patch
Type: text/x-patch
Size: 7329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220714/975c33b9/attachment.bin>
More information about the cfe-commits
mailing list