[llvm] a3cba6b - [Support] ThreadPoolExecutor: remove unused default argument
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 17:50:03 PDT 2024
Author: Fangrui Song
Date: 2024-08-13T17:49:57-07:00
New Revision: a3cba6b5db1b0918923240f46dcd6279a7b4421d
URL: https://github.com/llvm/llvm-project/commit/a3cba6b5db1b0918923240f46dcd6279a7b4421d
DIFF: https://github.com/llvm/llvm-project/commit/a3cba6b5db1b0918923240f46dcd6279a7b4421d.diff
LOG: [Support] ThreadPoolExecutor: remove unused default argument
Added:
Modified:
llvm/lib/Support/Parallel.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/Parallel.cpp b/llvm/lib/Support/Parallel.cpp
index a67ebf99adbe2..a3ef3d9c621b9 100644
--- a/llvm/lib/Support/Parallel.cpp
+++ b/llvm/lib/Support/Parallel.cpp
@@ -49,7 +49,7 @@ class Executor {
/// in filo order.
class ThreadPoolExecutor : public Executor {
public:
- explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) {
+ explicit ThreadPoolExecutor(ThreadPoolStrategy S) {
ThreadCount = S.compute_thread_count();
// Spawn all but one of the threads in another thread as spawning threads
// can take a while.
More information about the llvm-commits
mailing list