summaryrefslogtreecommitdiff
path: root/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll')
-rw-r--r--test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
new file mode 100644
index 000000000000..f51ea4d500ba
--- /dev/null
+++ b/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.ll
@@ -0,0 +1,11 @@
+; ModuleID = 'thinlto-function-summary-callgraph2.ll'
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+; Function Attrs: nounwind uwtable
+define void @func() #0 !prof !2 {
+entry:
+ ret void
+}
+
+!2 = !{!"function_entry_count", i64 1}