]> granicus.if.org Git - clang/commit
[HIP] Let clang-offload-bundler support HIP
authorYaxun Liu <Yaxun.Liu@amd.com>
Fri, 11 May 2018 19:02:18 +0000 (19:02 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Fri, 11 May 2018 19:02:18 +0000 (19:02 +0000)
commit49edfed6d975a27cbbcd515f458f22d978791d53
tree71f19fc7eefdf1aa74dc2b7b20324ffb7f9f7f33
parent4582733e923f315a567908234a6dd13a40af3214
[HIP] Let clang-offload-bundler support HIP

When bundle/unbundle intermediate files for HIP, there may be multiple
sub archs, therefore BoundArch needs to be included in the target
and output file names for clang-offload-bundler.

Differential Revision: https://reviews.llvm.org/D46473

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
lib/Driver/ToolChains/Clang.cpp
tools/clang-offload-bundler/ClangOffloadBundler.cpp