[llvm-branch-commits] [clang] [llvm] [Coverage][Single] Enable Branch coverage for IfStmt (PR #113111)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 28 09:55:08 PST 2026


================
@@ -1195,7 +1183,8 @@ CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
   Fn->setEntryCount(FunctionCount);
 }
 
-std::pair<bool, bool> CodeGenPGO::getIsCounterPair(const Stmt *S) const {
+std::pair<bool, bool>
+CodeGenPGO::getExecSkipCounterExistence(const Stmt *S) const {
----------------
gulfemsavrun wrote:

Thanks. I think the remaining patches for branch coverage support in single-byte counters are pretty much ready to land, unless other reviewers have additional feedback. Thanks for driving this!

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


More information about the llvm-branch-commits mailing list