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

[compiler-rt][X86] Unify getAMDProcessorTypeAndSubType #97863

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

boomanaiden154
Copy link
Contributor

This patch unifies the implementation of getAMDProcessorTypeAndSubtype between compiler-rt and LLVM.

This patch is intended to be a step towards pulling these functions out into identical .inc files to better facilitate code sharing between LLVM and compiler-rt.

This patch unifies the implementation of getAMDProcessorTypeAndSubtype
between compiler-rt and LLVM.

This patch is intended to be a step towards pulling these functions out
into identical .inc files to better facilitate code sharing between LLVM
and compiler-rt.
@ganeshgit
Copy link
Contributor

LGTM!

Copy link
Collaborator

@RKSimon RKSimon left a comment

Choose a reason for hiding this comment

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

LGTM if you fix the Host.cpp #define / #undef as well

llvm/lib/TargetParser/Host.cpp Show resolved Hide resolved
Copy link

github-actions bot commented Jul 8, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@boomanaiden154 boomanaiden154 merged commit 87e914d into llvm:main Jul 8, 2024
4 of 6 checks passed
@boomanaiden154 boomanaiden154 deleted the unify-get-amd-processor branch July 8, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants