[llvm] [nfc] Improve testability of PGOInstrumentationGen (PR #104490)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 14:49:42 PDT 2024


================
@@ -56,12 +56,14 @@ class PGOInstrumentationGenCreateVar
 /// The instrumentation (profile-instr-gen) pass for IR based PGO.
 class PGOInstrumentationGen : public PassInfoMixin<PGOInstrumentationGen> {
 public:
-  PGOInstrumentationGen(bool IsCS = false) : IsCS(IsCS) {}
+  PGOInstrumentationGen(bool IsCS = false, bool IsCtxProf = false)
----------------
mtrofin wrote:

good point. done.

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


More information about the llvm-commits mailing list