diff options
author | Easwaran Raman <eraman@google.com> | 2016-03-08 00:36:35 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2016-03-08 00:36:35 +0000 |
commit | b1bd398ceb5bead0251ec0f40ba5db0177e4a2df (patch) | |
tree | 36a26cbce3ac57801dcb3271ff7bfb1b7ebef5d8 /llvm/test/Transforms/Inline/function-count-update-2.ll | |
parent | 33023662cbaebfda5005f0ac7c3a99554d18b2cc (diff) | |
download | bcm5719-llvm-b1bd398ceb5bead0251ec0f40ba5db0177e4a2df.tar.gz bcm5719-llvm-b1bd398ceb5bead0251ec0f40ba5db0177e4a2df.zip |
Revert revisions 262636, 262643, 262679, and 262682.
llvm-svn: 262883
Diffstat (limited to 'llvm/test/Transforms/Inline/function-count-update-2.ll')
-rw-r--r-- | llvm/test/Transforms/Inline/function-count-update-2.ll | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/llvm/test/Transforms/Inline/function-count-update-2.ll b/llvm/test/Transforms/Inline/function-count-update-2.ll deleted file mode 100644 index e9a44592cdd..00000000000 --- a/llvm/test/Transforms/Inline/function-count-update-2.ll +++ /dev/null @@ -1,27 +0,0 @@ -; RUN: opt < %s -inline -S | FileCheck %s - -; This tests that the function count of a callee gets correctly updated after it -; has been inlined into a two callsites. - -; CHECK: @callee() !prof [[COUNT:![0-9]+]] -define i32 @callee() !prof !1 { - ret i32 0 -} - -define i32 @caller1() !prof !2 { - %i = call i32 @callee() - ret i32 %i -} - -define i32 @caller2() !prof !3 { - %i = call i32 @callee() - ret i32 %i -} - -!llvm.module.flags = !{!0} -; CHECK: [[COUNT]] = !{!"function_entry_count", i64 0} -!0 = !{i32 1, !"MaxFunctionCount", i32 1000} -!1 = !{!"function_entry_count", i64 1000} -!2 = !{!"function_entry_count", i64 600} -!3 = !{!"function_entry_count", i64 400} - |