xref: /aosp_15_r20/external/llvm/test/Verifier/function-metadata-good.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s -o /dev/null 2>&1
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; Function foo() is called 2,304 times at runtime.
4*9880d681SAndroid Build Coastguard Workerdefine i32 @foo() !prof !0 {
5*9880d681SAndroid Build Coastguard Worker  ret i32 0
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker!0 = !{!"function_entry_count", i32 2304}
9