[llvm-branch-commits] [compiler-rt] [llvm] [Coverage] Make SingleByteCoverage work consistent to merging (PR #110972)

NAKAMURA Takumi via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 3 14:27:44 PDT 2024


================
@@ -952,7 +952,7 @@ void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight,
       Value = getInstrMaxCountValue();
       Overflowed = true;
     }
-    Counts[I] = Value;
----------------
chapuni wrote:

I didn't imagine use cases in PGO. I'll leave it unchanged.

In contrast, do you think we could round counters as boolean only in llvm-cov?

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


More information about the llvm-branch-commits mailing list