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

Ellis Hoag via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 3 14:36:37 PDT 2024


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

I think that makes sense for frontend coverage since we aren't using those values for optimization.

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


More information about the llvm-branch-commits mailing list