[compiler-rt] [llvm] [PGO] Add option to always instrumenting loop entries (PR #116789)

Christian Ulmann via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 05:46:50 PST 2024


================
@@ -123,6 +123,8 @@ class InstrProfReader {
 
   virtual bool instrEntryBBEnabled() const = 0;
 
+  virtual bool instrLoopEntriesEnabled() const = 0;
----------------
Dinistro wrote:

I think it would be sensible to add a comment to this function, even when it's somewhat trivial.

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


More information about the llvm-commits mailing list