python-build-standalone
python-build-standalone copied to clipboard
Upgrade to LLVM 20.1.0
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.
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 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.
Great thanks for following up.
Thanks for merging this regression-fix swiftly! 👍🏻
Is the branch indygreg/no-plt unnecessary?
Changes to PLT and symbol binding need to be considered separately and deliberately. I published the branch so others can conduct performance analysis.