Skip to content

Commit 63df6f1

Browse files
authored
Rollup merge of #138182 - durin42:llvm-21-fp128-windows, r=tgross35
rustc_target: update x86_win64 to match the documented calling convention for f128 llvm/llvm-project@5ee1c0b updates llvm to match the documented calling convention to pass f128 indirectly. This change makes us do that on all versions of LLVM, not just starting with LLVM 21. `@rustbot` label llvm-main try-job: dist-x86_64-msvc try-job: dist-x86_64-mingw try-job: x86_64-msvc-1 try-job: x86_64-msvc-2 try-job: x86_64-mingw-1 try-job: x86_64-mingw-2
2 parents 45ebc40 + d7e7f8b commit 63df6f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/assembly/x86_64-windows-float-abi.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ pub extern "C" fn second_f64(_: f64, x: f64) -> f64 {
3737
}
3838

3939
// CHECK-LABEL: second_f128
40-
// CHECK: movaps %xmm1, %xmm0
40+
// FIXME(llvm21): this can be just %rdx instead of the regex once we don't test on LLVM 20
41+
// CHECK: movaps {{(%xmm1|\(%rdx\))}}, %xmm0
4142
// CHECK-NEXT: retq
4243
#[no_mangle]
4344
pub extern "C" fn second_f128(_: f128, x: f128) -> f128 {

0 commit comments

Comments
 (0)