summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/inline-coverage.ll
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-02-23 18:27:45 +0000
committerDehao Chen <dehao@google.com>2017-02-23 18:27:45 +0000
commit533bc6ea8eb477ffd7f0bee97d70cbc6d0ee1ec4 (patch)
treefb4982d5db0c5feeb3bd71b5354b8672f660949e /llvm/test/Transforms/SampleProfile/inline-coverage.ll
parentf4e201e09f4fe51db407571a2ed0642ff1894a7d (diff)
downloadbcm5719-llvm-533bc6ea8eb477ffd7f0bee97d70cbc6d0ee1ec4.tar.gz
bcm5719-llvm-533bc6ea8eb477ffd7f0bee97d70cbc6d0ee1ec4.zip
Use base discriminator in sample pgo profile matching.
Summary: The discriminator has been encoded, and only the base discriminator should be used during profile matching. Reviewers: dblaikie, davidxl Reviewed By: dblaikie, davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30218 llvm-svn: 295999
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/inline-coverage.ll')
-rw-r--r--llvm/test/Transforms/SampleProfile/inline-coverage.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/SampleProfile/inline-coverage.ll b/llvm/test/Transforms/SampleProfile/inline-coverage.ll
index c88e7f865fa..72100ac6f5d 100644
--- a/llvm/test/Transforms/SampleProfile/inline-coverage.ll
+++ b/llvm/test/Transforms/SampleProfile/inline-coverage.ll
@@ -120,7 +120,7 @@ for.end: ; preds = %for.cond
!27 = !DILocation(line: 9, column: 12, scope: !26)
!28 = !DILocation(line: 9, column: 8, scope: !26)
!29 = !DILocation(line: 9, column: 19, scope: !30)
-!30 = !DILexicalBlockFile(scope: !31, file: !1, discriminator: 1)
+!30 = !DILexicalBlockFile(scope: !31, file: !1, discriminator: 2)
!31 = distinct !DILexicalBlock(scope: !26, file: !1, line: 9, column: 3)
!32 = !DILocation(line: 9, column: 21, scope: !30)
!33 = !DILocation(line: 9, column: 3, scope: !30)
OpenPOWER on IntegriCloud