diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-27 09:45:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-27 09:45:18 +0200 |
| commit | ce7993670b2e3c18793a06f06ba1e79114e6326c (patch) | |
| tree | 6d3bc7b10254bd08a219b43a091279b3bda10374 | |
| parent | 50dec941218d2222f8fe4e95a103be34e9218228 (diff) | |
| parent | 126f4abd8b5589a3e0a27182ee1ddad33ff5bff3 (diff) | |
| download | rust-ce7993670b2e3c18793a06f06ba1e79114e6326c.tar.gz rust-ce7993670b2e3c18793a06f06ba1e79114e6326c.zip | |
Rollup merge of #114957 - loongarch-rs:fix-tests, r=Mark-Simulacrum
tests: Fix tests for LoongArch64 This PR fixes `lp64d abi` tests for LoongArch64.
| -rw-r--r-- | tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs b/tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs index 7555553c2c5..591ccd45ab6 100644 --- a/tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs +++ b/tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs @@ -250,11 +250,11 @@ pub struct IntDoubleInt { c: i32, } -// CHECK: define void @f_int_double_int_s_arg(ptr noalias nocapture noundef dereferenceable(24) %a) +// CHECK: define void @f_int_double_int_s_arg(ptr noalias nocapture noundef align 8 dereferenceable(24) %a) #[no_mangle] pub extern "C" fn f_int_double_int_s_arg(a: IntDoubleInt) {} -// CHECK: define void @f_ret_int_double_int_s(ptr noalias nocapture noundef sret(%IntDoubleInt) dereferenceable(24) %0) +// CHECK: define void @f_ret_int_double_int_s(ptr noalias nocapture noundef sret(%IntDoubleInt) align 8 dereferenceable(24) %_0) #[no_mangle] pub extern "C" fn f_ret_int_double_int_s() -> IntDoubleInt { IntDoubleInt { a: 1, b: 2., c: 3 } |
