Skip to content
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

llvm: Speed up clang by 1.22x #408

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

joebonrichie
Copy link
Contributor

Build libLLVMSupport to generate profiling data, previously we were only compiling a very simple HelloWorld program for profiling.

This speeds up building llvm with clang by 1.22x

Additionally build with thin LTO instead of full as the memory requirements for fat LTO are too high with little gain.

@joebonrichie joebonrichie requested a review from a team as a code owner October 13, 2024 16:12
Build libLLVMSupport to generate profiling data, previously we were only
compiling a very simple HelloWorld program for profiling.

This speeds up building llvm with clang by 1.22x

Additionally build with thin LTO instead of full as the memory
requirements for fat LTO are too high with little gain.
Copy link
Member

@ikeycode ikeycode left a comment

Choose a reason for hiding this comment

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

love it

@ikeycode ikeycode merged commit 00d0eaf into main Oct 21, 2024
1 check passed
@ikeycode ikeycode deleted the better-llvm-pgo-training-data branch October 21, 2024 19:05
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