1 ; RUN: opt -passes=pgo-icall-prom -profile-summary-hot-count=10 -S < %s -pass-remarks-output=- | FileCheck %s
3 ; CHECK: byval mismatch
5 define void @a(ptr %0) !prof !0 {
9 define void @b(ptr %v, ptr %p) !prof !1 {
12 ; CHECK-NEXT: call void {{.*}}(ptr byval(i64)
13 ; CHECK-NEXT: ret void
16 call void %a(ptr byval(i64) %p), !prof !2
20 !0 = !{!"function_entry_count", i64 36}
21 !1 = !{!"function_entry_count", i64 1}
22 !2 = !{!"VP", i32 0, i64 18, i64 12157170054180749580, i64 18}