[llvm] [ThinLTO] Allow importing based on a workload definition (PR #74545)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 14:22:54 PST 2023


================
@@ -588,7 +568,11 @@ class WorkloadImportsManager : public ModuleImportsManager {
     std::map<std::string, std::vector<std::string>> WorkloadDefs;
     json::Path::Root NullRoot;
     // The JSON is supposed to contain a dictionary matching the type of
-    // WorkloadDefs.
+    // WorkloadDefs. For example:
----------------
teresajohnson wrote:

Suggest moving this example to the option definition.

https://github.com/llvm/llvm-project/pull/74545


More information about the llvm-commits mailing list