You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
285 B

// 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)* byval{{.*}}%a)
return f(a);
}
// CHECK: declare i32 @f(%struct.A addrspace(5)* byval{{.*}})