--cuda-host-only should not disable linking phase.
authorArtem Belevich <tra@google.com>
Tue, 28 Jul 2015 21:01:21 +0000 (21:01 +0000)
committerArtem Belevich <tra@google.com>
Tue, 28 Jul 2015 21:01:21 +0000 (21:01 +0000)
commit4242f41d8ab4c1fdd8168b97cf3813a3bfd90dd9
tree27022dee87d23151bab4cfdc0d81aaef3af8c14d
parent97c45b65884af7147d4b11516bc1017f50fac58e
--cuda-host-only should not disable linking phase.

Host-only cuda compilation does produce valid host object
file and in some cases users do want to proceed on to the linking phase.
The change removes special case that stopped compilation pipeline at
the Assembly phase. Device-side compilation is still stopped early
by the types::getCompilationPhases().

Differential Revision: http://reviews.llvm.org/D11573

llvm-svn: 243478
clang/lib/Driver/Driver.cpp
clang/test/Driver/cuda-options.cu