aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Optimizer/Transforms/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2026-02-04 09:25:26 -0800
committerGitHub <noreply@github.com>2026-02-04 09:25:26 -0800
commit4fdb10b052b29a4160f25fdfaebda9c5d8734408 (patch)
treece6f519eff4d31a2b1c280d88c1cfa89f08b452e /flang/lib/Optimizer/Transforms/LoopInvariantCodeMotion.cpp
parentb0aea0539f968054a6a34add42588c6fceca540a (diff)
downloadllvm-4fdb10b052b29a4160f25fdfaebda9c5d8734408.zip
llvm-4fdb10b052b29a4160f25fdfaebda9c5d8734408.tar.gz
llvm-4fdb10b052b29a4160f25fdfaebda9c5d8734408.tar.bz2
[clang][modules] Allow specifying thread-safe module cache (#179510)
This PR adds new member to `CompilerInstance::ThreadSafeCloneConfig` to allow using a different `ModuleCache` instance in the cloned `CompilerInstance`. This is done so that the original and the clone can't concurrently work on the same `InMemoryModuleCache`, which is not thread safe. This will be made use of shortly from the dependency scanner along with the single-module-parse-mode to compile modules asynchronously/concurrently. This also fixes an old comment that incorrectly claimed that `CompilerInstance`'s constructor is responsible for finalizing `InMemoryModuleCache` buffers, which is no longer the case.
Diffstat (limited to 'flang/lib/Optimizer/Transforms/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions