diff --git a/llvm/tools/llvm-lto2/llvm-lto2.cpp b/llvm/tools/llvm-lto2/llvm-lto2.cpp --- a/llvm/tools/llvm-lto2/llvm-lto2.cpp +++ b/llvm/tools/llvm-lto2/llvm-lto2.cpp @@ -65,8 +65,7 @@ "import files for the " "distributed backend case")); -static cl::opt Threads("thinlto-threads", - cl::init(llvm::heavyweight_hardware_concurrency())); +static cl::opt Threads("thinlto-threads", cl::init(2)); static cl::list SymbolResolutions( "r",