[PATCH] D68665: [HIP] Fix -save-temps

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 8 14:24:29 PDT 2019


yaxunl created this revision.
yaxunl added reviewers: tra, ashi1.

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.


https://reviews.llvm.org/D68665

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68665.223944.patch
Type: text/x-patch
Size: 10345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191008/1e294b22/attachment.bin>


More information about the cfe-commits mailing list