diff options
Diffstat (limited to 'test/Verifier/function-metadata-good.ll')
-rw-r--r-- | test/Verifier/function-metadata-good.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Verifier/function-metadata-good.ll b/test/Verifier/function-metadata-good.ll new file mode 100644 index 000000000000..3d73a1c06945 --- /dev/null +++ b/test/Verifier/function-metadata-good.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s -o /dev/null 2>&1 + +; Function foo() is called 2,304 times at runtime. +define i32 @foo() !prof !0 { + ret i32 0 +} + +!0 = !{!"function_entry_count", i32 2304} |