// RUN: %clang_cc1 -no-opaque-pointers -triple riscv32 -target-feature +f -target-abi ilp32f -emit-llvm %s -o - \
// RUN: | FileCheck %s
// Doubles are still passed in GPRs, so the 'e' argument will be anyext as
// GPRs are exhausted.
// CHECK: define{{.*}} void @f_fpr_tracking(double noundef %a, double noundef %b, double noundef %c, double noundef %d, i8 noundef %e)
void
// Lowering for doubles is unnmodified, as 64 > FLEN.
;
// CHECK: define{{.*}} void @f_double_s_arg(i64 %a.coerce)
void
// CHECK: define{{.*}} i64 @f_ret_double_s()
struct double_s
;
// CHECK: define{{.*}} void @f_double_double_s_arg(%struct.double_double_s* noundef %a)
void
// CHECK: define{{.*}} void @f_ret_double_double_s(%struct.double_double_s* noalias sret(%struct.double_double_s) align 8 %agg.result)
struct double_double_s
;
;
// CHECK: define{{.*}} void @f_int_double_s_arg(%struct.int_double_s* noundef %a)
void
// CHECK: define{{.*}} void @f_ret_int_double_s(%struct.int_double_s* noalias sret(%struct.int_double_s) align 8 %agg.result)
struct int_double_s