]> granicus.if.org Git - clang/commit
[HIP] Fix -save-temps
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 9 Oct 2019 18:46:43 +0000 (18:46 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 9 Oct 2019 18:46:43 +0000 (18:46 +0000)
commite6a0ab18d19b69e35743015853844d7305891e4e
tree434d84f1dfcb3ee76aae8008d39c57797d343bf6
parentb8ee3f498b42c135ff329f62c36cdd6bb774221d
[HIP] Fix -save-temps

Currently clang does not save some of the intermediate file generated during device compilation for HIP when -save-temps is specified.

This patch fixes that.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374198 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
lib/Driver/ToolChains/CommonArgs.cpp
lib/Driver/ToolChains/HIP.cpp
lib/Driver/ToolChains/HIP.h
test/Driver/hip-save-temps.hip [new file with mode: 0644]