]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/pgo-use/filecheck-patterns.txt
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / run-make-fulldeps / pgo-use / filecheck-patterns.txt
1 # Add a check that the IR contains some expected metadata
2 CHECK: !{!"ProfileFormat", !"InstrProf"}
3 CHECK: !"ProfileSummary"
4
5 # Make sure that the hot function is marked with `inlinehint`
6 CHECK: define {{.*}} @hot_function
7 CHECK-NEXT: Function Attrs:{{.*}}inlinehint
8
9 # Make sure that the cold function is marked with `cold`
10 CHECK: define {{.*}} @cold_function
11 CHECK-NEXT: Function Attrs:{{.*}}cold