summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/Inputs
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-31 21:53:58 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-31 21:53:58 +0000
commitf9ed08e16ec2b7e58dc46849d3ffd771749eb398 (patch)
tree6035e3c9499025d89776a8e279aef2985b1db2c9 /llvm/test/Transforms/SampleProfile/Inputs
parentec2ea4817e72763d74f78a7c3d8cefc183629eb8 (diff)
downloadbcm5719-llvm-f9ed08e16ec2b7e58dc46849d3ffd771749eb398.tar.gz
bcm5719-llvm-f9ed08e16ec2b7e58dc46849d3ffd771749eb398.zip
SamplePGO - Count sample records in embedded profiles when computing coverage.
The initial coverage checking code for sample records failed to count records inside inlined profiles. This change fixes the oversight. llvm-svn: 251752
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/Inputs')
-rw-r--r--llvm/test/Transforms/SampleProfile/Inputs/inline-coverage.prof7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SampleProfile/Inputs/inline-coverage.prof b/llvm/test/Transforms/SampleProfile/Inputs/inline-coverage.prof
new file mode 100644
index 00000000000..3d792733149
--- /dev/null
+++ b/llvm/test/Transforms/SampleProfile/Inputs/inline-coverage.prof
@@ -0,0 +1,7 @@
+main:501438:0
+ 2.1: 23478
+ 3: 23478
+ 4: 0
+ 0: 0
+ 3: _Z3fool:172746
+ 1: 31878
OpenPOWER on IntegriCloud