blob: a889e660b14539e7155e95be0503a17e6540174a [file] [log] [blame]
// RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn %s | FileCheck %s
struct A {
int x[100];
};
int f(struct A a);
int g() {
struct A a;
// CHECK: call i32 @f(%struct.A addrspace(5)* noundef byval{{.*}}%a)
return f(a);
}
// CHECK: declare i32 @f(%struct.A addrspace(5)* noundef byval{{.*}})