function-metadata-good.ll 176 B

12345678
  1. ; RUN: llvm-as < %s -o /dev/null 2>&1
  2. ; Function foo() is called 2,304 times at runtime.
  3. define i32 @foo() !prof !0 {
  4. ret i32 0
  5. }
  6. !0 = !{!"function_entry_count", i32 2304}