Skip to content

Commit d7e7f8b

Browse files
committed
tests: adjust expectation for f128 abi on Windows
llvm/llvm-project@5ee1c0b updates llvm to match the documented calling convention to pass f128 indirectly. @rustbot label llvm-main
1 parent 69b3959 commit d7e7f8b

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)