[llvm-branch-commits] [llvm] [InstrProf] Deduplicate VP values (PR #196649)

Mircea Trofin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed May 13 22:03:39 PDT 2026


================
@@ -1359,14 +1359,43 @@ void annotateValueSite(Module &M, Instruction &Inst,
 
   // Value Profile Data
   uint32_t MDCount = MaxMDCount;
+  // Zero values might occur multiple times (e.g., multiple functions that
----------------
mtrofin wrote:

can this be responsibility of the callers?

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


More information about the llvm-branch-commits mailing list