[all-commits] [llvm/llvm-project] 0c1b32: [HIP] Allow the new driver to compile HIP in non-R...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jul 20 13:52:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c1b32717bcffcf8edf95294e98933bd4c1e76ed
https://github.com/llvm/llvm-project/commit/0c1b32717bcffcf8edf95294e98933bd4c1e76ed
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-toolchain-no-rdc.hip
Log Message:
-----------
[HIP] Allow the new driver to compile HIP in non-RDC mode
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.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D129784
More information about the All-commits
mailing list