repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
FrontendC
/
union-align.c
blob
f99a760805698ebc4348939a7dc09431a53de042
1
// RUN: %llvmgcc -S %s -o - | grep load | grep "4 x float" | not grep "align 4"
2
// RUN: %llvmgcc -S %s -o - | grep load | grep "4 x float" | grep "align 16"
3
// PR3432
4
// rdar://6536377
5
6
typedef
float
__m128
__attribute__
((
__vector_size__
(
16
)));
7
8
typedef
union
9
{
10
int
i
[
4
];
11
float
f
[
4
];
12
__m128 v
;
13
}
u_t
;
14
15
__m128
t
(
u_t
*
a
) {
16
return
a
->
v
;
17
}