diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-26 15:32:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 15:32:16 +0100 |
| commit | 64c0eff655da5d7ba6e5c1cc348f5c45f864a686 (patch) | |
| tree | c275df20166d178fc900e2084758988cd2ee53f7 | |
| parent | 85394cb1118ecf86e8ff6ac199836046704abadf (diff) | |
| parent | 402bdd183bc8db8cdbd8a582e69d40a09e971a2e (diff) | |
| download | rust-64c0eff655da5d7ba6e5c1cc348f5c45f864a686.tar.gz rust-64c0eff655da5d7ba6e5c1cc348f5c45f864a686.zip | |
Rollup merge of #133454 - zmodem:initializes_fix, r=nikic
Update test expectations to accept LLVM 'initializes' attribute The test was checking for two `ptr` arguments by matching commas (or non-commas), however after https://github.com/llvm/llvm-project/pull/117104 LLVM adds an `initializes((0, 16))` attribute, which includes a comma. So instead, we make the test check for two LLVM values, i.e. something prefixed by %. (See also https://crbug.com/380707238)
| -rw-r--r-- | tests/codegen/aarch64-softfloat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/aarch64-softfloat.rs b/tests/codegen/aarch64-softfloat.rs index 14d0054f80c..85380a6c472 100644 --- a/tests/codegen/aarch64-softfloat.rs +++ b/tests/codegen/aarch64-softfloat.rs @@ -41,7 +41,7 @@ fn pass_f32_pair_Rust(x: (f32, f32)) -> (f32, f32) { x } -// CHECK: void @pass_f64_pair_Rust(ptr {{[^,]*}}, ptr {{[^,]*}}) +// CHECK: void @pass_f64_pair_Rust(ptr {{.*}}%{{[^ ]+}}, ptr {{.*}}%{{[^ ]+}}) #[no_mangle] fn pass_f64_pair_Rust(x: (f64, f64)) -> (f64, f64) { x |
