[llvm] [ctx_profile] Decouple ctx instrumentation from PGOOpt (PR #92445)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 13:40:57 PDT 2024


================
@@ -1157,8 +1153,12 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
   const bool IsPGOInstrUse =
       IsPGOPreLink && PGOOpt->Action == PGOOptions::IRUse;
   const bool IsMemprofUse = IsPGOPreLink && !PGOOpt->MemoryProfile.empty();
+  // We don't want to mix pgo ctx gen and pgo gen; we also don't currently
----------------
mtrofin wrote:

done.

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


More information about the llvm-commits mailing list