Skip to content

Commit ce79936

Browse files
authored
Rollup merge of #114957 - loongarch-rs:fix-tests, r=Mark-Simulacrum
tests: Fix tests for LoongArch64 This PR fixes `lp64d abi` tests for LoongArch64.
2 parents 50dec94 + 126f4ab commit ce79936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ pub struct IntDoubleInt {
250250
c: i32,
251251
}
252252

253-
// CHECK: define void @f_int_double_int_s_arg(ptr noalias nocapture noundef dereferenceable(24) %a)
253+
// CHECK: define void @f_int_double_int_s_arg(ptr noalias nocapture noundef align 8 dereferenceable(24) %a)
254254
#[no_mangle]
255255
pub extern "C" fn f_int_double_int_s_arg(a: IntDoubleInt) {}
256256

257-
// CHECK: define void @f_ret_int_double_int_s(ptr noalias nocapture noundef sret(%IntDoubleInt) dereferenceable(24) %0)
257+
// CHECK: define void @f_ret_int_double_int_s(ptr noalias nocapture noundef sret(%IntDoubleInt) align 8 dereferenceable(24) %_0)
258258
#[no_mangle]
259259
pub extern "C" fn f_ret_int_double_int_s() -> IntDoubleInt {
260260
IntDoubleInt { a: 1, b: 2., c: 3 }

0 commit comments

Comments
 (0)