[PATCH] D24873: [gold] Split plugin options controlling ThinLTO and codegen parallelism.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 13:01:31 PDT 2016


davide added a subscriber: davide.
davide added a comment.

lg modulo nits.


================
Comment at: tools/gold/gold-plugin.cpp:124
@@ -123,1 +123,3 @@
   static unsigned Parallelism = 0;
+  // Default regular LTO code gen parallelism (number of partitions).
+  static unsigned ParallelCodeGenParallelismLevel = 1;
----------------
same here

================
Comment at: tools/gold/gold-plugin.cpp:219
@@ -214,1 +218,3 @@
+              .getAsInteger(10, ParallelCodeGenParallelismLevel))
+        message(LDPL_FATAL, "Invalid code gen partition level: %s", opt_ + 5);
     } else if (opt == "disable-verify") {
----------------
Can we either use code generation or codegen (single word?)


https://reviews.llvm.org/D24873





More information about the llvm-commits mailing list