aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2018-09-27 16:12:32 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2018-09-27 16:12:32 +0000
commita981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5 (patch)
treee2628ce1674e681520da37a1fbd5791183a74bf0 /llvm/lib/CodeGen/MachineOperand.cpp
parenta4f68bf4adcd2cc3457a4028e7f0bf7eb89dc002 (diff)
downloadllvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.zip
llvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.tar.gz
llvm-a981f67bcde2f7e0d8c2f1b268c0a156c9e2fef5.tar.bz2
[OpenMP] Improve search for libomptarget-nvptx
When looking for the bclib Clang considered the default library path first while it preferred directories in LIBRARY_PATH when constructing the invocation of nvlink. The latter actually makes more sense because during development it allows using a non-default runtime library. So change the search for the bclib to start looking in directories given by LIBRARY_PATH. Additionally add a new option --libomptarget-nvptx-path= which will be searched first. This will be handy for testing purposes. Differential Revision: https://reviews.llvm.org/D51686 llvm-svn: 343230
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions