Repository navigation
[PowerPC] Use the 16-byte stack and vector alignment on OpenBSD - #245115
Merged
Merged
Conversation
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
The 64-bit PowerPC data layout appends the stack and vector alignment components only for AIX, Linux and FreeBSD, so powerpc64-openbsd gets a shorter layout. OpenBSD also uses the ELFv2 ABI on powerpc64, so there is no ABI reason for the difference. Without them the natural stack alignment is left unspecified, which can cause unnecessary dynamic stack realignment. Follow-up to llvm#232336, which did the same for FreeBSD. Co-Authored-By: Claude Opus 5.5 <[email protected]>
brad0
force-pushed
the
ppc64-openbsd-datalayout
branch
from
November 23, 2026 03:21
3b5ba5e to
0ad6559
Compare
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Nov 24, 2026
… r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Nov 24, 2026
… r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Nov 24, 2026
… r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Nov 24, 2026
… r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
clarfonthey
added a commit
to clarfonthey/rust
that referenced
this pull request
Nov 24, 2026
… r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
rust-bors Bot
pushed a commit
to rust-lang/rust
that referenced
this pull request
Nov 25, 2026
Rollup merge of #166494 - durin42:llvm-24-openbsd-ppc-align, r=hanna-kruppe rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout Updated in llvm/llvm-project#245115 @rustbot label: +llvm-main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 64-bit PowerPC data layout appends the stack and vector alignment
components only for AIX, Linux and FreeBSD, so powerpc64-openbsd gets a
shorter layout. OpenBSD also uses the ELFv2 ABI on powerpc64, so there
is no ABI reason for the difference. Without them the natural stack
alignment is left unspecified, which can cause unnecessary dynamic
stack realignment.
Follow-up to #232336, which did the same for FreeBSD.