summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2018-02-22 19:44:08 +0000
committerEaswaran Raman <eraman@google.com>2018-02-22 19:44:08 +0000
commit385d8ea8b5dc5d6b348c4a62d159b432bc19b1e7 (patch)
treea1c5d6b00ba5a3a29a8e48077f0a8792b86aec89 /llvm/test/Bitcode
parentbeda214996f6b4ed426490ed853bf0a5912a2c7d (diff)
downloadbcm5719-llvm-385d8ea8b5dc5d6b348c4a62d159b432bc19b1e7.tar.gz
bcm5719-llvm-385d8ea8b5dc5d6b348c4a62d159b432bc19b1e7.zip
[ThinLTO] Represent relative BF using a scaled representation .
Summary: The current integer representation of relative block frequency prevents representing relative block frequencies below 1. This change uses a 8 of the 29 bits to represent the decimal part by using a fixed scale of -8. Reviewers: tejohnson, davidxl Subscribers: mehdi_amini, inglorion, llvm-commits Differential Revision: https://reviews.llvm.org/D43520 llvm-svn: 325823
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
index 779acada520..9955de6d958 100644
--- a/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
@@ -11,7 +11,7 @@
; CHECK: <GLOBALVAL_SUMMARY_BLOCK
; CHECK-NEXT: <VERSION
; See if the call to func is registered.
-; CHECK-NEXT: <PERMODULE_RELBF {{.*}} op4=1 {{.*}} op7=1
+; CHECK-NEXT: <PERMODULE_RELBF {{.*}} op4=1 {{.*}} op7=256
; CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK>
; CHECK: <STRTAB_BLOCK
; CHECK-NEXT: blob data = 'undefinedglobmainfunc{{.*}}'
OpenPOWER on IntegriCloud