Skip to content

[BOLT] Encode BAT using ULEB128 #76899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

aaupov
Copy link
Contributor

@aaupov aaupov commented Jan 4, 2024

Reduces BAT section size, bytes:

  • large binary: 38676872 -> 23262524 (0.60x),
  • medium binary (trunk clang): 5938004 -> 3213504 (0.54x),
  • small binary (X86/bolt-address-translation.test): 1436 -> 680 (0.47x).

Test Plan: Updated bolt/test/X86/bolt-address-translation.test

aaupov added 5 commits January 3, 2024 21:25
Created using spr 1.3.4
Created using spr 1.3.4
Created using spr 1.3.4
Created using spr 1.3.4
Created using spr 1.3.4
Copy link
Contributor

@rafaelauler rafaelauler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@aaupov aaupov merged commit d9df92a into users/aaupov/spr/main.bolt-encode-bat-using-uleb128 Jan 11, 2024
@aaupov aaupov deleted the users/aaupov/spr/bolt-encode-bat-using-uleb128 branch January 11, 2024 19:54
@aaupov aaupov restored the users/aaupov/spr/bolt-encode-bat-using-uleb128 branch January 11, 2024 20:04
@aaupov
Copy link
Contributor Author

aaupov commented Jan 11, 2024

Merged into wrong branch... spr workflow is tough.

aaupov added a commit that referenced this pull request Jan 11, 2024
aaupov added a commit that referenced this pull request Jan 11, 2024
Reduces BAT section size, bytes:
- large binary: 38676872 -> 23262524 (0.60x),
- medium binary (trunk clang): 5938004 -> 3213504 (0.54x),
- small binary (X86/bolt-address-translation.test): 1436 -> 680 (0.47x).

Test Plan: Updated bolt/test/X86/bolt-address-translation.test
@aaupov aaupov deleted the users/aaupov/spr/bolt-encode-bat-using-uleb128 branch January 11, 2024 20:22
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
Reduces BAT section size, bytes:
- large binary: 38676872 -> 23262524 (0.60x),
- medium binary (trunk clang): 5938004 -> 3213504 (0.54x),
- small binary (X86/bolt-address-translation.test): 1436 -> 680 (0.47x).

Test Plan: Updated bolt/test/X86/bolt-address-translation.test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants