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

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 8 14:46:15 PDT 2026


boomanaiden154 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 https://github.com/llvm/llvm-project/pull/196649.

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


More information about the llvm-branch-commits mailing list