[llvm] [ctx_prof] Add Inlining support (PR #106154)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 30 12:29:59 PDT 2024
================
@@ -29,6 +29,15 @@ cl::opt<std::string>
UseCtxProfile("use-ctx-profile", cl::init(""), cl::Hidden,
cl::desc("Use the specified contextual profile file"));
+static cl::opt<CtxProfAnalysisPrinterPass::PrintMode> PrintLevel(
+ "ctx-profile-printer-level",
+ cl::init(CtxProfAnalysisPrinterPass::PrintMode::Everything), cl::Hidden,
----------------
teresajohnson wrote:
I'm not sure what you mean by "switch everything to one of the 2 cases" but rather than have different defaults in different places, why not make the option default JSON and pass in "--ctx-profile-printer-level=everything" from the .ll tests if you want that there?
https://github.com/llvm/llvm-project/pull/106154
More information about the llvm-commits
mailing list