-
Notifications
You must be signed in to change notification settings - Fork 89
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
chore: upgrade to nightly-2024-02-15 #1071
Merged
Merged
Conversation
This file contains 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
473a457
to
5dd242b
Compare
dbff90c2a7c751cf9d6843cd585429beb100c17d is the first bad commit
commit dbff90c2a7c751cf9d6843cd585429beb100c17d
Author: Matthew Maurer <[email protected]>
Date: Thu Oct 12 17:36:01 2023 +0000
LLVM 18 x86 data layout update
With https://reviews.llvm.org/D86310 LLVM now has i128 aligned to
16-bytes on x86 based platforms. This will be in LLVM-18. This patch
updates all our spec targets to be 16-byte aligned, and removes the
alignment when speaking to older LLVM.
This results in Rust overaligning things relative to LLVM on older LLVMs.
This alignment change was discussed in rust-lang/compiler-team#683
See #54341 for additional information about why this is happening and
where this will be useful in the future.
This *does not* stabilize `i128`/`u128` for FFI.
compiler/rustc_ast/src/ast.rs | 8 ++++++--
compiler/rustc_codegen_llvm/src/context.rs | 8 ++++++++
compiler/rustc_middle/src/mir/mod.rs | 12 +++++++++---
compiler/rustc_target/src/spec/targets/i386_apple_ios.rs | 2 +-
compiler/rustc_target/src/spec/targets/i686_apple_darwin.rs | 2 +-
compiler/rustc_target/src/spec/targets/i686_linux_android.rs | 2 +-
.../rustc_target/src/spec/targets/i686_pc_windows_gnu.rs | 2 +-
.../rustc_target/src/spec/targets/i686_pc_windows_gnullvm.rs | 2 +-
.../rustc_target/src/spec/targets/i686_pc_windows_msvc.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_freebsd.rs | 2 +-
compiler/rustc_target/src/spec/targets/i686_unknown_haiku.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_hurd_gnu.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_linux_musl.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_netbsd.rs | 2 +-
.../rustc_target/src/spec/targets/i686_unknown_openbsd.rs | 2 +-
.../rustc_target/src/spec/targets/i686_uwp_windows_gnu.rs | 2 +-
.../rustc_target/src/spec/targets/i686_uwp_windows_msvc.rs | 2 +-
compiler/rustc_target/src/spec/targets/i686_wrs_vxworks.rs | 2 +-
.../rustc_target/src/spec/targets/x86_64_apple_darwin.rs | 4 ++--
compiler/rustc_target/src/spec/targets/x86_64_apple_ios.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_apple_ios_macabi.rs | 4 ++--
compiler/rustc_target/src/spec/targets/x86_64_apple_tvos.rs | 4 ++--
.../src/spec/targets/x86_64_apple_watchos_sim.rs | 4 ++--
.../src/spec/targets/x86_64_fortanix_unknown_sgx.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_linux_android.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_pc_nto_qnx710.rs | 4 ++--
compiler/rustc_target/src/spec/targets/x86_64_pc_solaris.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs | 4 ++--
.../src/spec/targets/x86_64_pc_windows_gnullvm.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_pc_windows_msvc.rs | 4 ++--
.../src/spec/targets/x86_64_unikraft_linux_musl.rs | 4 ++--
.../src/spec/targets/x86_64_unknown_dragonfly.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_freebsd.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_fuchsia.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_haiku.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_hermit.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_illumos.rs | 4 ++--
.../src/spec/targets/x86_64_unknown_l4re_uclibc.rs | 4 ++--
.../src/spec/targets/x86_64_unknown_linux_gnu.rs | 4 ++--
.../src/spec/targets/x86_64_unknown_linux_musl.rs | 4 ++--
.../src/spec/targets/x86_64_unknown_linux_ohos.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_netbsd.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_none.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_openbsd.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_redox.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_unknown_uefi.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_uwp_windows_gnu.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64_uwp_windows_msvc.rs | 4 ++--
compiler/rustc_target/src/spec/targets/x86_64_wrs_vxworks.rs | 4 ++--
.../rustc_target/src/spec/targets/x86_64h_apple_darwin.rs | 4 ++--
51 files changed, 103 insertions(+), 85 deletions(-) |
Signed-off-by: Martin Kröning <[email protected]>
This reverts commit 6430e27.
Signed-off-by: Martin Kröning <[email protected]>
Signed-off-by: Martin Kröning <[email protected]>
Signed-off-by: Martin Kröning <[email protected]>
Signed-off-by: Martin Kröning <[email protected]>
Signed-off-by: Martin Kröning <[email protected]>
Signed-off-by: Martin Kröning <[email protected]>
5dd242b
to
4f68844
Compare
Signed-off-by: Martin Kröning <[email protected]>
008cdbb
to
bbd0323
Compare
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.
No description provided.