================
@@ -5427,6 +5427,15 @@ void Verifier::visitProfMetadata(Instruction &I, MDNode
*MD) {
"VP !prof indirect call or memop size expected to be applied to "
"CallBase instructions only",
MD);
+
+ DenseSet<uint64_t> ProfileValues;
+ for (unsigned I = 3; I < MD->getNumOperands(); I += 2) {
----------------
boomanaiden154 wrote:
There's some conditions where it bails that I think we still want to
verify/report a different error. Given that I don't think it makes sense to
combine the two, especially if we ever want to change behavior in
`getValueProfDataFromInst`.
https://github.com/llvm/llvm-project/pull/193083
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits