diff options
| author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2022-03-02 09:09:16 -0500 |
|---|---|---|
| committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2022-03-04 15:34:02 -0500 |
| commit | bde13a8102baef4d79723064e6bd27cd39124d91 (patch) | |
| tree | fb47c3bebe702b0b04cb248c9cd78c9ec5aaae21 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | e7c7b16a849fb40169a708d27cb59747139ed8c7 (diff) | |
[HIP] Fix job action offloading kind for mixed HIP/C++ compilation
When both HIP and C++ programs are input files to clang
with -c, clang treats C++ programs as HIP programs,
which is incorrect.
This is due to action builder does not set correct
offloading kind for job actions for C++ programs.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D120910
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
