diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-04-12 16:23:31 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2019-04-12 16:23:31 +0000 |
commit | 7bd8c37b17730a1a6e76d5543fba0939238b7640 (patch) | |
tree | f258ad90c95cb86cfed99d183c704120725a4614 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | e1bc9758cb43432f8e74105e7e2e9fc2874631f3 (diff) | |
download | llvm-7bd8c37b17730a1a6e76d5543fba0939238b7640.zip llvm-7bd8c37b17730a1a6e76d5543fba0939238b7640.tar.gz llvm-7bd8c37b17730a1a6e76d5543fba0939238b7640.tar.bz2 |
[HIP] Use -mlink-builtin-bitcode to link device library
Use -mlink-builtin-bitcode instead of llvm-link to link
device library so that device library bitcode and user
device code can be compiled in a consistent way.
This is the same approach used by CUDA and OpenMP.
Differential Revision: https://reviews.llvm.org/D60513
llvm-svn: 358290
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions