Files
clang-p2996/clang/test/CodeGenOpenCL/byval.cl
hyeongyu kim fd9b099906 Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default"
This reverts commit aacfbb953e.

Revert "Fix lit test failures in CodeGenCoroutines"

This reverts commit 63fff0f5bf.
2021-11-09 02:15:55 +09:00

16 lines
285 B
Common Lisp

// 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{{.*}})