-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[X86][compiler-rt] Split CPU names even they have the same subtype #118237
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
llvm/lib/TargetParser/Host.cpp
needs to be updated as well and is probably what is causing the linked issue.
As a side note, can I get some reviews on my PRs to test/merge this infra between compiler-rt and LLVM?
- [compiler-rt][X86] Unify getIntelProcessorTypeAndSubtype #97861
- [compiler-rt][X86] Better unify ProcessorFeatures and X86TargetParser #97856
- [compiler-rt][X86] Unify getAvailableFeatures #97872 (probably not ready for review yet).
- [compiler-rt] Add infrastructure for testing cpuid builtins #101927
That will make changes like this in the future easier.
Good catch, thanks! I have a few comments on them, but I don't see how they guarantee synchronization between compiler and compiler-rt. Plus, how to sync with different libgcc? |
The plan is to make the files actually match given there are a large number of differences between them, through those PRs. Once everything matches appropriately, my plan is to write up another patch moving the implementations to
What do you mean by this? This shouldn't change any compiler-rt/libgcc compatibility guarantees (although it will probably catch issues where we don't maintain ABI compatibility with libgcc in compiler-rt), just make the code between LLVM and compiler-rt closer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM.
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/131/builds/11482 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/5228 Here is the relevant piece of the build log for the reference
|
Fixes: #118205