================ @@ -1503,38 +1527,53 @@ struct CounterCoverageMappingBuilder } // Create Branch Region around condition. - createBranchRegion(S->getCond(), BodyCount, - subtractCounters(CondCount, BodyCount)); + if (!llvm::EnableSingleByteCoverage) + createBranchRegion(S->getCond(), BodyCount, + subtractCounters(CondCount, BodyCount)); ---------------- chapuni wrote:
As far as I have checked, I guess `!EnableSingleByteCoverage` can be sunk into `createBranchRegion()` rather than checking from callers. Sorry for my delayed comment. I didn't notice till merging. https://github.com/llvm/llvm-project/pull/75425 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits