[PATCH] D124490: [InstrProf] Minimal Block Coverage

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 15:17:21 PDT 2022


ellis updated this revision to Diff 430827.
ellis added a comment.

Remove `isBlockRarelyExecuted()` API.
For covered functions, set the entry count to 10000 so that BFI correctly gives non-zero profile counts to only covered blocks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124490/new/

https://reviews.llvm.org/D124490

Files:
  compiler-rt/test/profile/instrprof-coverage.c
  compiler-rt/test/profile/instrprof-entry-coverage.c
  llvm/include/llvm/Transforms/Instrumentation/BlockCoverageInference.h
  llvm/lib/Transforms/Instrumentation/BlockCoverageInference.cpp
  llvm/lib/Transforms/Instrumentation/CMakeLists.txt
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/coverage.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124490.430827.patch
Type: text/x-patch
Size: 40340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/d42e1ba2/attachment.bin>


More information about the llvm-commits mailing list