1 ; RUN: llvm-profdata merge %S/Inputs/hash_mismatch_metadata.proftext -o %t.profdata
2 ; RUN: opt < %s -mtriple=x86_64-linux-gnu -passes=pgo-instr-use -pgo-test-profile-file=%t.profdata -S | FileCheck %s
4 define void @foo() !annotation !1 {
9 define void @bar() !annotation !2 {
14 !1 = !{!"fake_metadata"}
15 !2 = !{!"instr_prof_hash_mismatch"}
17 ; CHECK-DAG: !{{[0-9]+}} = !{!"fake_metadata", !"instr_prof_hash_mismatch"}
18 ; CHECK-DAG: !{{[0-9]+}} = !{!"instr_prof_hash_mismatch"}