diff options
| author | bors <bors@rust-lang.org> | 2025-01-28 06:11:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-28 06:11:13 +0000 |
| commit | 7b19e13d324ba932f3e887c1100d18e4e9b353dc (patch) | |
| tree | 000c4472f7a2695a472b5847c02cb5889f3cf1c0 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 0ef7ea2c2fff987cae8f5c4a56bf1e59ddb2e932 (diff) | |
| parent | 61e48a25dac28d1d63c0b084d448e18e07da34cc (diff) | |
| download | rust-7b19e13d324ba932f3e887c1100d18e4e9b353dc.tar.gz rust-7b19e13d324ba932f3e887c1100d18e4e9b353dc.zip | |
Auto merge of #134290 - tgross35:windows-i128-callconv, r=bjorn3,wesleywiser
Windows x86: Change i128 to return via the vector ABI Clang and GCC both return `i128` in xmm0 on windows-msvc and windows-gnu. Currently, Rust returns the type on the stack. Add a calling convention adjustment so we also return scalar `i128`s using the vector ABI, which makes our `i128` compatible with C. In the future, Clang may change to return `i128` on the stack for its `-msvc` targets (more at [1]). If this happens, the change here will need to be adjusted to only affect MinGW. Link: https://github.com/rust-lang/rust/issues/134288 (does not fix) [1] try-job: x86_64-msvc try-job: x86_64-msvc-ext1 try-job: x86_64-mingw-1 try-job: x86_64-mingw-2
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
