fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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