[PATCH] D24826: [LTO] Add -flto-jobs=N to control backend parallelism

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 23 10:31:14 PDT 2016

mehdi_amini added inline comments.

Comment at: include/clang/Driver/Options.td:818
@@ -815,1 +817,3 @@
+  HelpText<"Controls the backend parallelism of -flto=thin (default "
+           "of 0 means use std::thread::hardware_concurrency)">;
 def fthinlto_index_EQ : Joined<["-"], "fthinlto-index=">,
`std::thread::hardware_concurrency` is a bit implementation specific, can we find a better formulation?
Something like `(default of 0 means the number of thread will be derived from the number of CPUs detected)`?


More information about the cfe-commits mailing list