diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2023-11-20 09:25:33 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 09:25:33 -0600 |
commit | b0154c36d6387272f7f961c22582693d2850d21c (patch) | |
tree | cc04ae5134e5e6e91732d04dc2c15b5b8d5d5a38 /clang/lib/CodeGen | |
parent | 2fdf283c3f7977b12965183ed64c8c0d3f22fa82 (diff) | |
download | llvm-b0154c36d6387272f7f961c22582693d2850d21c.zip llvm-b0154c36d6387272f7f961c22582693d2850d21c.tar.gz llvm-b0154c36d6387272f7f961c22582693d2850d21c.tar.bz2 |
[InstrProf] Add pgo use block coverage test (#72443)
Back in https://reviews.llvm.org/D124490 we added a block coverage mode
that instruments a subset of basic blocks using single byte counters to
get coverage for the whole function.
This commit adds a test to make sure that we correctly assign branch
weights based on the coverage profile.
I noticed this test was missing after seeing that we had no coverage on
`PGOUseFunc::populateCoverage()`
https://lab.llvm.org/coverage/coverage-reports/coverage/Users/buildslave/jenkins/workspace/coverage/llvm-project/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp.html#L1383
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions