1 # Add a check that the IR contains some expected metadata
2 CHECK: !{!"ProfileFormat", !"InstrProf"}
3 CHECK: !"ProfileSummary"
5 # Make sure that the hot function is marked with `inlinehint`
6 CHECK: define {{.*}} @hot_function
7 CHECK-NEXT: Function Attrs:{{.*}}inlinehint
9 # Make sure that the cold function is marked with `cold`
10 CHECK: define {{.*}} @cold_function
11 CHECK-NEXT: Function Attrs:{{.*}}cold