[llvm-branch-commits] [IR] Verify that VP !prof does not have duplicate prof values (PR #193083)

David Li via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 8 15:02:30 PDT 2026


david-xl wrote:

> > can the check also be done earlier to the VP meta data creation point -- which allows the error context to be captured.
> 
> Can you describe exactly what you have in mind? We could do something where the VP metadata gets created in `InstrProf.cpp` like an assertion/error emission, but that really shouldn't be getting emitted after #196649.

Ok -- if it is rare, keep it in verifier is fine.

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


More information about the llvm-branch-commits mailing list