[clang] [clang][Driver][SPIR-V] Allow linking IR using llvm-link (PR #169572)
Nick Sarnie via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 11 10:14:42 PST 2025
================
@@ -4595,7 +4598,14 @@ void Driver::BuildDefaultActions(Compilation &C, DerivedArgList &Args,
LA->propagateHostOffloadInfo(C.getActiveOffloadKinds(),
/*BoundArch=*/nullptr);
} else {
- LA = C.MakeAction<LinkJobAction>(LinkerInputs, types::TY_Image);
+ // If we are linking but were passed -emit-llvm, we will be calling
----------------
sarnex wrote:
Just pushed a change implementing this, but will wait for feedback on if we should do this a different wait.
https://github.com/llvm/llvm-project/pull/169572
More information about the cfe-commits
mailing list