mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user