]> granicus.if.org Git - clang/commit
[CUDA] Collapsed offload actions should not be top-level jobs.
authorArtem Belevich <tra@google.com>
Mon, 22 Aug 2016 18:50:34 +0000 (18:50 +0000)
committerArtem Belevich <tra@google.com>
Mon, 22 Aug 2016 18:50:34 +0000 (18:50 +0000)
commitfa4ba1e18da29fe299ad2aac15ddbbc8f864cc02
treef07b87b5fa68a89ad449028a4174fcb40088b63d
parentb6cce470ec79752d7f4b6d142eba4617eaf2082f
[CUDA] Collapsed offload actions should not be top-level jobs.

If they are, we end up with the last intermediary output preserved
in the current directory after compilation.

Added a test case to verify that we're using appropriate filenames
for outputs of different phases.

Differential Revision: https://reviews.llvm.org/D23526

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/cuda-bindings.cu [new file with mode: 0644]