☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
arm-byval-align.c
☽
☼
clang/test/CodeGen/arm-byval-align.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -triple=armv7-none-eabi < %s -emit-llvm | FileCheck %s
2
3
struct foo {
4
long long a;
5
char b;
6
int c:16;
7
int d[16];
8
};
9
10
// CHECK: ptr noundef byval(%struct.foo) align 8 %z
11
long long bar(int a, int b, int c, int d, int e,
12
struct foo z) {
13
return z.a;
14
}