summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/thinlto-function-summary.ll
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-02-06 16:07:35 +0000
committerTeresa Johnson <tejohnson@google.com>2016-02-06 16:07:35 +0000
commit5e22e4461d23130484dfdc83d2646f1a92d8e74d (patch)
treec325e41e05c24cfba8d985fef7e09f3d143ce6bb /llvm/test/Bitcode/thinlto-function-summary.ll
parent63b1ecab7ddc4d766263415c70f0794cedc2c11f (diff)
downloadbcm5719-llvm-5e22e4461d23130484dfdc83d2646f1a92d8e74d.tar.gz
bcm5719-llvm-5e22e4461d23130484dfdc83d2646f1a92d8e74d.zip
[ThinLTO] Include linkage type in function summary
Summary: Adds the linkage type to both the per-module and combined function summaries, which subsumes the current islocal bit. This will eventually be used to optimized linkage types based on global summary-based analysis. Reviewers: joker.eph Subscribers: joker.eph, davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D16943 llvm-svn: 259993
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll
index d9531f7da89..e8d9b00d3eb 100644
--- a/llvm/test/Bitcode/thinlto-function-summary.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary.ll
@@ -3,11 +3,11 @@
; Check the value ids in the function summary entries against the
; same in the ValueSumbolTable, to ensure the ordering is stable.
-; Also check the islocal flag on the summary entries.
+; Also check the linkage field on the summary entries.
; BC: <FUNCTION_SUMMARY_BLOCK
; BC-NEXT: <PERMODULE_ENTRY {{.*}} op0=1 op1=0
; BC-NEXT: <PERMODULE_ENTRY {{.*}} op0=2 op1=0
-; BC-NEXT: <PERMODULE_ENTRY {{.*}} op0=4 op1=1
+; BC-NEXT: <PERMODULE_ENTRY {{.*}} op0=4 op1=3
; BC-NEXT: </FUNCTION_SUMMARY_BLOCK
; BC-NEXT: <VALUE_SYMTAB
; BC-NEXT: <FNENTRY {{.*}} op0=1 {{.*}}> record string = 'foo'
OpenPOWER on IntegriCloud