about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2025-03-07 14:25:21 -0500
committerAugie Fackler <augie@google.com>2025-04-10 15:28:56 -0400
commitd7e7f8b522c9c2f5d8a509947904cd31956faa27 (patch)
treee0847e1f0026f36f44dc196233d2805e5bd0c2a8
parent69b3959afec9b5468d5de15133b199553f6e55d2 (diff)
downloadrust-d7e7f8b522c9c2f5d8a509947904cd31956faa27.tar.gz
rust-d7e7f8b522c9c2f5d8a509947904cd31956faa27.zip
tests: adjust expectation for f128 abi on Windows
llvm/llvm-project@5ee1c0b7148571ed9d60e447b66fb0f35de14576 updates llvm
to match the documented calling convention to pass f128 indirectly.

@rustbot label llvm-main
-rw-r--r--tests/assembly/x86_64-windows-float-abi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/assembly/x86_64-windows-float-abi.rs b/tests/assembly/x86_64-windows-float-abi.rs
index e8900be1aae..cbc80910851 100644
--- a/tests/assembly/x86_64-windows-float-abi.rs
+++ b/tests/assembly/x86_64-windows-float-abi.rs
@@ -37,7 +37,8 @@ pub extern "C" fn second_f64(_: f64, x: f64) -> f64 {
 }
 
 // CHECK-LABEL: second_f128
-// CHECK: movaps %xmm1, %xmm0
+// FIXME(llvm21): this can be just %rdx instead of the regex once we don't test on LLVM 20
+// CHECK: movaps {{(%xmm1|\(%rdx\))}}, %xmm0
 // CHECK-NEXT: retq
 #[no_mangle]
 pub extern "C" fn second_f128(_: f128, x: f128) -> f128 {