about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2023-10-12 17:36:01 +0000
committerNikita Popov <npopov@redhat.com>2024-01-19 10:52:01 +0100
commitdbff90c2a7c751cf9d6843cd585429beb100c17d (patch)
treebd0aa2e918e2761320771fa7aafce83501f7a808 /compiler/rustc_pattern_analysis/src
parent16fadb3f252bcfc5ee3f0be09472c9600a052202 (diff)
downloadrust-dbff90c2a7c751cf9d6843cd585429beb100c17d.tar.gz
rust-dbff90c2a7c751cf9d6843cd585429beb100c17d.zip
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions