[PATCH] D68300: [HIP] Add option -fno-link-builtin-bitcode to disable linking device lib

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 06:51:44 PDT 2019


yaxunl marked an inline comment as done.
yaxunl added inline comments.


================
Comment at: include/clang/Driver/Options.td:606
+def flink_builtin_bitcode : Flag<["-"], "flink-builtin-bitcode">,
+  Flags<[CC1Option]>, HelpText<"Link builtin bitcode for HIP device compilation.">;
+def fno_link_builtin_bitcode : Flag<["-"], "fno-link-builtin-bitcode">;
----------------
ashi1 wrote:
> Since this is a more generic approach, we won't need to specify HIP ?
this patch only implemented this option for HIP. If it is used for other languages, this help text should be updated.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68300/new/

https://reviews.llvm.org/D68300





More information about the cfe-commits mailing list