[clang] [Clang][Driver] Parallelize device cc1 jobs for offload arches (PR #208254)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 8 11:55:49 PDT 2026
================
@@ -5132,6 +5132,56 @@ static void ProcessVSRuntimeLibrary(const ToolChain &TC, const ArgList &Args,
CmdArgs.push_back("--dependent-lib=softintrin");
}
+static bool CanRunOffloadDeviceCC1JobInParallel(const JobAction &JA,
----------------
jhuber6 wrote:
General question, why do we need to touch `Clang.cpp` at all? I figured that we'd just be able to travel the tree of Jobs before executing and determine eligibility there.
https://github.com/llvm/llvm-project/pull/208254
More information about the cfe-commits
mailing list