GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — gh-101525: [BOLT] Add GCC's LTO-generated function clones, with computed gotos, to BOLT skip list by stratakis · Pull Request #139840 · python/cpython Conversation
|
|
cc @corona10 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I will try to review this PR until end of this week. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ed gotos, to BOLT skip list When building with --with-lto, --enable-bolt and --enable-shared, GCC creates optimized function clones with the suffix .lto_priv.0. The sre_ucs*_match functions use computed gotos, which BOLT cannot optimize, so their .lto_priv.0 clones must be skipped as well. Static builds and Clang's LTO implementation are not affected.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
But since LLVM 20 has been released and llvm/llvm-project#120267
is merged, it’s probably a good time to test without using -skip-funcs :)
cc @zanieb
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I did some testing there with GCC. #140250 works, unless the linker uses -pack-relative-relocs, then those functions fail again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Would it make sense to backport this to previous versions, as it's a bugfix? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yes, I think so. Do you agree to backport @corona10? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… computed gotos, to BOLT skip list (pythongh-139840)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.