[llvm] [PGO] Drive profile validator from opt (PR #147418)
Björn Pettersson via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 03:34:32 PDT 2025
================
@@ -217,6 +217,15 @@ static cl::opt<bool> VerifyDebugInfoPreserve(
cl::desc("Start the pipeline with collecting and end it with checking of "
"debug info preservation."));
+static cl::opt<bool> EnableProfileVerification(
+ "enable-profcheck",
+#if defined(LLVM_ENABLE_PROFCHECK)
+ cl::init(true),
+#else
+ cl::init(false),
+#endif
+ cl::desc("Start the pipeline with prof-inject and end it with prof-check"));
----------------
bjope wrote:
I guess this should say `prof-verify` instead of `prof-check`?
https://github.com/llvm/llvm-project/pull/147418
More information about the llvm-commits
mailing list