2016-06-08 22:46:05 +08:00
|
|
|
// RUN: %clang_cc1 -triple sparc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
|
|
|
|
|
2022-01-16 17:53:11 +08:00
|
|
|
// CHECK-LABEL: define{{.*}} { float, float } @p({ float, float }* noundef byval({ float, float }) align 4 %a, { float, float }* noundef byval({ float, float }) align 4 %b) #0 {
|
2016-06-08 22:46:05 +08:00
|
|
|
float __complex__
|
|
|
|
p (float __complex__ a, float __complex__ b)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-01-16 17:53:11 +08:00
|
|
|
// CHECK-LABEL: define{{.*}} { double, double } @q({ double, double }* noundef byval({ double, double }) align 8 %a, { double, double }* noundef byval({ double, double }) align 8 %b) #0 {
|
2016-06-08 22:46:05 +08:00
|
|
|
double __complex__
|
|
|
|
q (double __complex__ a, double __complex__ b)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-01-16 17:53:11 +08:00
|
|
|
// CHECK-LABEL: define{{.*}} { i64, i64 } @r({ i64, i64 }* noundef byval({ i64, i64 }) align 8 %a, { i64, i64 }* noundef byval({ i64, i64 }) align 8 %b) #0 {
|
2016-06-08 22:46:05 +08:00
|
|
|
long long __complex__
|
|
|
|
r (long long __complex__ a, long long __complex__ b)
|
|
|
|
{
|
|
|
|
}
|