aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2022-01-07 13:33:00 -0500
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2022-01-10 17:38:02 -0500
commit98ab43a1d209875ce9cc39420d3e6af57ed0f5b2 (patch)
treed2428107e46a09ca4cc8c41551711dbca0223150 /llvm/lib/Transforms/Utils/Local.cpp
parent1267506ea54a62e0c728215c033b256ce856db30 (diff)
downloadllvm-98ab43a1d209875ce9cc39420d3e6af57ed0f5b2.zip
llvm-98ab43a1d209875ce9cc39420d3e6af57ed0f5b2.tar.gz
llvm-98ab43a1d209875ce9cc39420d3e6af57ed0f5b2.tar.bz2
[HIP] Fix device only linking for -fgpu-rdc
Currently when -fgpu-rdc is specified, HIP toolchain always does host linking even if --cuda-device-only is specified. This patch fixes that. Only device linking is performed when --cuda-device-only is specified. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D116840
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions