[all-commits] [llvm/llvm-project] 4264e7: [CUDA][HIP] Disable emitting llvm.linker.options i...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Mon Nov 4 20:22:20 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4264e7bbfdb30ed8fe1e0907bfa25e4d1bb04207
https://github.com/llvm/llvm-project/commit/4264e7bbfdb30ed8fe1e0907bfa25e4d1bb04207
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2019-11-04 (Mon, 04 Nov 2019)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCUDA/ms-linker-options.cu
A clang/test/Driver/hip-autolink.hip
Log Message:
-----------
[CUDA][HIP] Disable emitting llvm.linker.options in device compilation
The linker options (e.g. pragma detect_mismatch) are intended for host
compilation only, therefore disable it for device compilation.
Differential Revision: https://reviews.llvm.org/D57829
More information about the All-commits
mailing list