[PATCH] D156426: [HIP] link HIP runtime library without --hip-link

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 06:21:10 PDT 2023


jhuber6 added inline comments.


================
Comment at: clang/include/clang/Driver/Driver.h:712
+  /// Whether there are HIP input files.
+  bool hasHIPInputs() const { return HasHIPInputs; }
+
----------------
Shouldn't we have access to the compilation? I figured we could check `C.getActiveOffloadKinds()` or w/e it's called.


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

https://reviews.llvm.org/D156426



More information about the cfe-commits mailing list