================
@@ -4439,6 +4439,35 @@ void Driver::handleArguments(Compilation &C, 
DerivedArgList &Args,
   }
 }
 
+/// HIP non-RDC \c -S for AMDGCN: emit host and device assembly separately and
+/// bundle with \c clang-offload-bundler (new offload driver), instead of
+/// \c llvm-offload-binary / \c clang-linker-wrapper fatbin embedding.
+static bool shouldBundleHIPAsmWithNewDriver(const Compilation &C,
+                                            const llvm::opt::DerivedArgList 
&Args,
+                                            const Driver &D) {
+  if (!C.isOffloadingHostKind(Action::OFK_HIP))
----------------
yxsamliu wrote:

done

https://github.com/llvm/llvm-project/pull/188262
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to