[PATCH] D68663: [clang-offload-bundler] Support `.cui` and `.d`.
Michael Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 9 06:53:29 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2ae54aba03f2: [clang-offload-bundler] Support `.cui` and `.d`. (authored by hliao).
Changed prior to commit:
https://reviews.llvm.org/D68663?vs=223932&id=224044#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68663/new/
https://reviews.llvm.org/D68663
Files:
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
Index: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
===================================================================
--- clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
+++ clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
@@ -71,6 +71,8 @@
"Current supported types are:\n"
" i - cpp-output\n"
" ii - c++-cpp-output\n"
+ " cui - cuda/hip-output\n"
+ " d - dependency\n"
" ll - llvm\n"
" bc - llvm-bc\n"
" s - assembler\n"
@@ -628,6 +630,12 @@
return new TextFileHandler(/*Comment=*/"//");
if (FilesType == "ii")
return new TextFileHandler(/*Comment=*/"//");
+ if (FilesType == "cui")
+ return new TextFileHandler(/*Comment=*/"//");
+ // TODO: `.d` should be eventually removed once `-M` and its variants are
+ // handled properly in offload compilation.
+ if (FilesType == "d")
+ return new TextFileHandler(/*Comment=*/"#");
if (FilesType == "ll")
return new TextFileHandler(/*Comment=*/";");
if (FilesType == "bc")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68663.224044.patch
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191009/489fb9a5/attachment.bin>
More information about the cfe-commits
mailing list