diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-04-07 21:18:00 +0200 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2020-05-29 13:20:46 +0200 |
commit | 1f4ba66ecc877562e75059e32d4c95a67e1fd483 (patch) | |
tree | 16a0bbacab15f8fdebe5174b93ba83262745131a /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 92f3d29af0c0f2c98ba0dfacac00bbb6eb1f741d (diff) | |
download | llvm-1f4ba66ecc877562e75059e32d4c95a67e1fd483.zip llvm-1f4ba66ecc877562e75059e32d4c95a67e1fd483.tar.gz llvm-1f4ba66ecc877562e75059e32d4c95a67e1fd483.tar.bz2 |
[clangd] Run PreambleThread in async mode behind a flag
Summary: Depends on D80198.
This patch implies ASTs might be built with stale preambles without
blocking for a fresh one. It also drops any guarantees on every preamble
version being built. In case of multiple preamble build requests, in
addition to being debounced.
Any preamble requested with a WantDiags::Yes will always be built, this
is ensured by blocking enqueueing of any subsequent reqest.
AST worker will still block for initial preamble to reduce duplicate
work.
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80293
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions