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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 13:38:32 PDT 2024


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

I meant a lit test. I think it would be good to add (reading the binary format like I am assuming the ctx profile reader tests do?), otherwise this is untested functionality.

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


More information about the llvm-commits mailing list