diff options
author | Fangrui Song <maskray@google.com> | 2020-04-24 20:50:06 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-04-28 12:20:42 -0700 |
commit | 6f230491197253be7c19b53c80be3e4a5835bc72 (patch) | |
tree | e2f74e060cc83e8baa27c6ffa5be1f6d1cc3c1f9 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 03ffe5860549e97a0f2d8262b100e8910f61c528 (diff) | |
download | llvm-6f230491197253be7c19b53c80be3e4a5835bc72.zip llvm-6f230491197253be7c19b53c80be3e4a5835bc72.tar.gz llvm-6f230491197253be7c19b53c80be3e4a5835bc72.tar.bz2 |
[Support] Simplify and optimize ThreadPool
* Merge QueueLock and CompletionLock.
* Avoid spurious CompletionCondition.notify_all() when ActiveThreads is greater than 0.
* Use default member initializers.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D78856
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions