diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2017-10-16 13:31:30 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2017-10-16 13:31:30 +0000 |
commit | e2c342fc654804a549d9b26f11e3aaf970c87048 (patch) | |
tree | 857e4d54695a1078c8ffeb9fa8aabd4dc51f31aa /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | ee6b5a79dc390f0792039a9c6c66adf55534b97d (diff) | |
download | llvm-e2c342fc654804a549d9b26f11e3aaf970c87048.zip llvm-e2c342fc654804a549d9b26f11e3aaf970c87048.tar.gz llvm-e2c342fc654804a549d9b26f11e3aaf970c87048.tar.bz2 |
[CUDA] Require libdevice only if needed
If the user passes -nocudalib, we can live without it being present.
Simplify the code by just checking whether LibDeviceMap is empty.
Differential Revision: https://reviews.llvm.org/D38901
llvm-svn: 315902
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions