[PATCH] D153318: [llvm] Refactor BalancedPartitioning for fixing build failure with MSVC

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 05:55:56 PDT 2023


ellis added inline comments.


================
Comment at: llvm/lib/Support/BalancedPartitioning.cpp:84
           Nodes.size(), Config.SplitDepth, Config.IterationsPerSplit));
+  ThreadPool TheThreadPool;
   std::optional<BPThreadPool> TP;
----------------
Lets move this line to be inside `LLVM_ENABLE_THREADS` because it won't be used if it's not enabled.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153318/new/

https://reviews.llvm.org/D153318



More information about the llvm-commits mailing list