diff options
| author | Jan Voung <jvoung@gmail.com> | 2024-04-30 09:26:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 06:26:09 -0700 |
| commit | adabdc12f995b0af74c866201899e738796d0d5e (patch) | |
| tree | 3853c1eee1bd47fe14a942d9d83101391752f2df /llvm/test/Bitcode/thinlto-function-summary-callgraph.ll | |
| parent | e50a857fb16bcfe7cfc99bf87db620bc82d1cff5 (diff) | |
Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries (#90497)
GUID often have content in the higher bits of a 64-bit entry so using
the unabbrev encoding is inefficient (lots of VBR control bits).
Instead, use an abbrev with two 32-bit fixed width chunks.
The abbrev also helps encode the "count" in one place instead of
in every record.
Reduces size of distributed backend summary files by 8.7% in one
example app.
Co-authored-by: Jan Voung <jvoung@google.com>
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph.ll')
| -rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary-callgraph.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll index 542b400f8e33..becbc4a32dd9 100644 --- a/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll +++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll @@ -30,7 +30,7 @@ ; COMBINED-NEXT: <FLAGS ; Only 2 VALUE_GUID since reference to undefinedglob should not be included in ; combined index. -; COMBINED-NEXT: <VALUE_GUID op0=[[FUNCID:[0-9]+]] op1=7289175272376759421/> +; COMBINED-NEXT: <VALUE_GUID {{.*}} op0=[[FUNCID:[0-9]+]] op1=1697143370 op2=1603531901/> ; COMBINED-NEXT: <VALUE_GUID ; COMBINED-NEXT: <COMBINED_PROFILE ; See if the call to func is registered. |
