-
Notifications
You must be signed in to change notification settings - Fork 34
[Downstream change] Cherry-pick of [TargetParser] Normalize "aarch64-amazon-linux" to "aarch64-amazon-linux-gnu" #535
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
…nux-gnu" This normalizes the "aarch64-amazon-linux" to "aarch64-amazon-linux-gnu", this allows various parts of the LLVM codebase to recognize a GNU environment is present on Amazon Linux. This allows RuntimeLibcalls to mark the sincos* functions as available on Amazon Linux. This allows these functions to be vectorized on Amazon Linux.
|
This pull review modifies files outside of the |
|
This isn't strictly speaking a "Backport" because the patch isn't in upstream clang main, but rather a branch with a PR. I guess I'd be slightly concerned that the upstream patch is never actually going to get merged? |
We're introducing it to the release branch only (following @MacDue recommendation). We decided this is how this should be addressed for this release. |
|
@pawosm-arm do you want to update the description here and the issue #533 to point out that this is a one off change for 21.x branch, not a permanent downstream change moving forward? |
|
It's unclear to me whether this is a one-off or not. As things stand the upstream patch seems unlikely to be merged. |
Now this is on the release branch only, thus is easier to accept as it will not cause us merge conflicts. i.e. maintenance, in the future. We will need a separate issue and PR to implement this same or similar change on the main |
Fun fact, we (me and @kiranchandramohan) haven't been even discussing porting this change to the main |
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.
LG. It is a simple cherry-pick of the upstream patch.
Note: @MacDue is on holidays.
…triple and handle RuntimeLibcalls (#546) Original PR under review: llvm/llvm-project#136114 As the commit introduced by #535 has resulted in a faulty C++ compiler which could not see system-provided standard C++ library, an alternative solution is now being cherry-picked here which appears to work with Amazon Linux 2023. This is an one off change for the ATfL21 release. Downstream issue: #533 Co-authored-by: Benjamin Maxwell <[email protected]>
Original PR under review: llvm/llvm-project#140070
This is an one off change for the ATfL21 release.
Downstream issue: #533