================
@@ -3672,29 +3672,45 @@ class OffloadingActionBuilder final {
             // compiler phases, including backend and assemble phases.
             ActionList AL;
             Action *BackendAction = nullptr;
+            bool AssembleAndLink = true;
             if (ToolChains.front()->getTriple().isSPIRV() ||
----------------
jhuber6 wrote:

SPIR-V here should be similar to what CUDA does, I would just expect to skip 
this step entirely. I'm fairly certain the normal pipeline works for SPIR-V 
since the standalone clang target does what I expect. The linker is probably 
the only bit you'd skip, the handling there is a little weird since CUDA 
overloads it to mean `fatbinary` while HIP uses the offload bundler (for now).

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

Reply via email to