repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Fix crash in HLFIR generation (#118399)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
arm-byval-align.c
blob
c1b697a784ec94308b9797f17a0e54e49cb11902
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
}