summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-16 18:54:35 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-16 18:54:35 +0000
commitb93483dbce540b7888df4938dd984955ec8b0343 (patch)
tree83ffec1d008fd22bf64724772486d4fb1402990e /llvm/test/Transforms/SampleProfile
parent17af3f957e0f08d0ae77264992746cab736605f6 (diff)
downloadbcm5719-llvm-b93483dbce540b7888df4938dd984955ec8b0343.tar.gz
bcm5719-llvm-b93483dbce540b7888df4938dd984955ec8b0343.zip
Sample profiles - Re-arrange binary format to emit head samples only on top functions.
The number of samples collected at the head of a function only make sense for top-level functions (i.e., those actually called as opposed to being inlined inside another). Head samples essentially count the time spent inside the function's prologue. This clearly doesn't make sense for inlined functions, so we were always emitting 0 in those. llvm-svn: 250539
Diffstat (limited to 'llvm/test/Transforms/SampleProfile')
-rw-r--r--llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprofbin105 -> 105 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof b/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof
index dc7234d8300..a074f53db94 100644
--- a/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof
+++ b/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof
Binary files differ
OpenPOWER on IntegriCloud