[all-commits] [llvm/llvm-project] 1dab94: [CUDA][HIP] Pass -fgpu-rdc to host clang -cc1
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Mon Feb 8 16:09:42 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1dab94f9ede5d506d6ff9c61448a8e20d43e05a7
https://github.com/llvm/llvm-project/commit/1dab94f9ede5d506d6ff9c61448a8e20d43e05a7
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/HIP.cpp
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
Log Message:
-----------
[CUDA][HIP] Pass -fgpu-rdc to host clang -cc1
Currently -fgpu-rdc is not passed to host clang -cc1.
This causes issue because -fgpu-rdc affects shadow
variable linkage in host compilation.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D96105
More information about the All-commits
mailing list