[llvm] [ctx_prof] Extend `WorkloadImportsManager` to use the contextual profile (PR #98682)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 14:11:41 PDT 2024


================
@@ -174,6 +174,10 @@ static cl::opt<std::string> WorkloadDefinitions(
              "}"),
     cl::Hidden);
 
+static cl::opt<std::string>
+    ContextualProfile("thinlto-pgo-ctx-prof",
----------------
mtrofin wrote:

Right - need to figure out where to place it, because it would need to be a test that runs a program to generate a profile. Meaning it needs compiler-rt.

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


More information about the llvm-commits mailing list