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

Upgrade to LLVM 20.1.0 #553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Upgrade to LLVM 20.1.0 #553

wants to merge 1 commit into from

Conversation

indygreg
Copy link
Collaborator

@indygreg indygreg commented Mar 9, 2025

I just published an LLVM 20.1.0 toolchain with some computed gotos patches to hopefully improve performance of CPython.

https://github.com/indygreg/toolchain-tools/releases/tag/toolchain-bootstrap%2F20250308

One of the patches changes codegen to fix a regression in LLVM 19.

The other enables bolt to work with computed gotos. To take full advantage of this functionality we patch CPython configure to remove some --skip-funcs which are no longer required.

@indygreg
Copy link
Collaborator Author

indygreg commented Mar 9, 2025

Oh, the new toolchain release is marked as a pre-release for the moment since I haven't tested them. (This PR can be the test!) I also noticed the archives are significantly larger. I'd like to investigate that before removing the pre-release flag. Maybe tomorrow...

I just published an LLVM 20.1.0 toolchain with some computed gotos
patches to hopefully improve performance of CPython.

https://github.com/indygreg/toolchain-tools/releases/tag/toolchain-bootstrap%2F20250308

One of the patches changes codegen to fix a regression in LLVM 19.

The other enables bolt to work with computed gotos. To take full
advantage of this functionality we patch CPython configure to remove
some `--skip-funcs` which are no longer required.
Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

The changes here look good to me, thanks for taking this on!

@indygreg
Copy link
Collaborator Author

I did a quick audit of the LLVM distribution bloat. Looks mostly organic.

I removed the pre-release label from the release. I'm comfortable landing this if you are.

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