Skip to content

Commit 6ff995b

Browse files
committed
Fix tests/codegen/riscv-abi/riscv64-lp64d-abi.rs
1 parent 2dc84ec commit 6ff995b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/codegen/riscv-abi/riscv64-lp64d-abi.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//@ only-linux
55
#![crate_type = "lib"]
66

7-
// CHECK: define void @f_fpr_tracking(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, i8 zeroext %i)
7+
// CHECK: define void @f_fpr_tracking(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, i8 noundef zeroext %i)
88
#[no_mangle]
99
pub extern "C" fn f_fpr_tracking(
1010
a: f64,
@@ -144,7 +144,7 @@ pub extern "C" fn f_ret_double_int64_s() -> DoubleInt64 {
144144
DoubleInt64 { f: 1., i: 2 }
145145
}
146146

147-
// CHECK: define void @f_double_int8_s_arg_insufficient_gprs(i32 signext %a, i32 signext %b, i32 signext %c, i32 signext %d, i32 signext %e, i32 signext %f, i32 signext %g, i32 signext %h, [2 x i64] %0)
147+
// CHECK: define void @f_double_int8_s_arg_insufficient_gprs(i32 noundef signext %a, i32 noundef signext %b, i32 noundef signext %c, i32 noundef signext %d, i32 noundef signext %e, i32 noundef signext %f, i32 noundef signext %g, i32 noundef signext %h, [2 x i64] %0)
148148
#[no_mangle]
149149
pub extern "C" fn f_double_int8_s_arg_insufficient_gprs(
150150
a: i32,
@@ -250,11 +250,11 @@ pub struct IntDoubleInt {
250250
c: i32,
251251
}
252252

253-
// CHECK: define void @f_int_double_int_s_arg(%IntDoubleInt* {{.*}}%a)
253+
// CHECK: define void @f_int_double_int_s_arg(ptr {{.*}} %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(%IntDoubleInt* {{.*}}sret
257+
// CHECK: define void @f_ret_int_double_int_s(ptr {{.*}} sret([24 x i8]) 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)