[all-commits] [llvm/llvm-project] abfb49: [NFC][InstrProf] Increment valid profile stat in p...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Tue Apr 23 09:51:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abfb4915e12f4767de8714cf79591b509b09896e
      https://github.com/llvm/llvm-project/commit/abfb4915e12f4767de8714cf79591b509b09896e
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp

  Log Message:
  -----------
  [NFC][InstrProf] Increment valid profile stat in populateCoverage (#89660)

We increment `NumOfCSPGOFunc` and `NumOfPGOFunc` in
`PGOUseFunc::readCounters()` already. We should do the same in
`PGOUseFunc::populateCoverage`.


https://github.com/llvm/llvm-project/blob/83bc7b57714dc2f6b33c188f2b95a0025468ba51/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp#L1331



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list