[clang] [clang-sycl-linker] AOT-compile split modules concurrently (PR #224548)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 21:48:26 PDT 2026


================

----------------
wenju-he wrote:

good idea, but it requires a refactor because current `runCodeGen` isn't thread safe as it takes a shared LLVMContext. We should construct a local LLVMContext inside `runCodeGen` for parallel compilation.

I'd prefer to do that in a follow-up PR, since this PR is a contained, low-risk change.

https://github.com/llvm/llvm-project/pull/224548


More information about the cfe-commits mailing list